- PARAMETER - Static variable in class org.jamplate.impl.Component
-
The key of the parameter component.
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.CollectParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.CombineParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.FilterByKindParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.FilterHierarchyByKindParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.HierarchyParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.MergeByOrderParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.MergeByWeightParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.OfferParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.PatternGroupParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.PatternParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.PatternRangeParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.RecursiveParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.ThenAddParser
-
- parse(Compilation, Tree) - Method in class org.jamplate.impl.parser.ThenOfferParser
-
- parse(Tree, Pattern) - Static method in class org.jamplate.impl.util.Parsing
-
Parse the whole given tree
with the given pattern
and return the
references of the groups in the given pattern
.
- parse(Compilation, Tree) - Method in interface org.jamplate.model.function.Parser
-
Parse the given sketch
with respect to the given compilation
.
- parseAll(Tree, Pattern, int) - Static method in class org.jamplate.impl.util.Parsing
-
Parse all the ranges matching the given pattern
in the given tree
.
- parseAll(Tree, Pattern, Pattern, int) - Static method in class org.jamplate.impl.util.Parsing
-
Parse all the ranges starting with the given startPattern
and ending with
the given endPattern
in the given tree
.
- parseFirst(Tree, Pattern, int) - Static method in class org.jamplate.impl.util.Parsing
-
Parse the first range matching the given pattern
in the given tree
.
- parseFirst(Tree, Pattern, Pattern, int) - Static method in class org.jamplate.impl.util.Parsing
-
Parse all the ranges starting with the given startPattern
and ending with
the given endPattern
in the given tree
.
- PARSER - Static variable in class org.jamplate.impl.Jamplate
-
An all-in-one parser used by the jamplate default implementation.
- parser - Variable in class org.jamplate.impl.parser.CollectParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.FilterByKindParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.FilterHierarchyByKindParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.HierarchyParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.MergeByOrderParser
-
The parser this parser is wrapping.
- parser - Variable in class org.jamplate.impl.parser.OfferParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.RecursiveParser
-
The wrapped parser.
- parser - Variable in class org.jamplate.impl.parser.ThenAddParser
-
The parser.
- parser - Variable in class org.jamplate.impl.parser.ThenOfferParser
-
The parser.
- parser - Variable in class org.jamplate.impl.processor.ParserProcessor
-
The parser of this processor.
- Parser - Interface in org.jamplate.model.function
-
A function that takes a compilation and a sketch and parses new sketches from them.
- PARSER_PROCESSOR - Static variable in class org.jamplate.impl.Jamplate
-
A processor wrapper for the jamplate parser.
- ParserProcessor - Class in org.jamplate.impl.processor
-
A processor that parses using a predefined parser.
- ParserProcessor(Parser) - Constructor for class org.jamplate.impl.processor.ParserProcessor
-
Construct a new processor that parses using the given parser
.
- parsers - Variable in class org.jamplate.impl.parser.CombineParser
-
The parsers this parser is combining.
- parsers - Variable in class org.jamplate.impl.parser.MergeByWeightParser
-
The parsers in order.
- Parsers - Class in org.jamplate.impl
-
Jamplate syntax-level default implementation constants.
- Parsing - Class in org.jamplate.impl.util
-
Useful functions for parsing sketches.
- PATH - Static variable in class org.jamplate.impl.Address
-
An address used to allocate the current path.
- pattern - Variable in class org.jamplate.impl.parser.PatternGroupParser
-
The pattern.
- pattern - Variable in class org.jamplate.impl.parser.PatternParser
-
A pattern matching the literal.
- PatternGroupParser - Class in org.jamplate.impl.parser
-
A parser that parses by pattern groups.
- PatternGroupParser(Pattern, BiFunction<Document, Reference, Tree>, BiConsumer<Tree, Reference>...) - Constructor for class org.jamplate.impl.parser.PatternGroupParser
-
Construct a new group parser that uses the given pattern
and the given
constructors
.
- PatternParser - Class in org.jamplate.impl.parser
-
A parser parsing literal sketches depending on a specific pattern.
- PatternParser(Pattern) - Constructor for class org.jamplate.impl.parser.PatternParser
-
Construct a new literal parser that parses the sketches looking for areas that
matches the given pattern
.
- PatternParser(Pattern, int) - Constructor for class org.jamplate.impl.parser.PatternParser
-
Construct a new literal parser that parses the sketches looking for areas that
matches the given pattern
.
- PatternParser(Pattern, BiFunction<Document, Reference, Tree>) - Constructor for class org.jamplate.impl.parser.PatternParser
-
Construct a new literal parser that parses the sketches looking for areas that
matches the given pattern
.
- PatternParser(Pattern, int, BiFunction<Document, Reference, Tree>) - Constructor for class org.jamplate.impl.parser.PatternParser
-
Construct a new literal parser that parses the sketches looking for areas that
matches the given pattern
.
- PatternRangeParser - Class in org.jamplate.impl.parser
-
A parser parsing scope sketches depending on a specific starting and ending pattern.
- PatternRangeParser(Pattern, Pattern, int, BiFunction<Document, Reference, Tree>, BiConsumer<Tree, Reference>...) - Constructor for class org.jamplate.impl.parser.PatternRangeParser
-
Construct a new scope parser that parses the sketches looking for areas that starts
with the given startPattern
and ends with the given endPattern
.
- PatternRangeParser(Pattern, Pattern, BiFunction<Document, Reference, Tree>, BiConsumer<Tree, Reference>...) - Constructor for class org.jamplate.impl.parser.PatternRangeParser
-
Construct a new scope parser that parses the sketches looking for areas that starts
with the given startPattern
and ends with the given endPattern
.
- pop() - Method in class org.jamplate.model.Frame
-
Return and remove the last pushed value to the stack.
- pop() - Method in class org.jamplate.model.Memory
-
Return and remove the last pushed value to the stack.
- pop() - Method in class org.jamplate.model.Tree
-
Cleanly remove this tree from the structure it is on.
- popFrame() - Method in class org.jamplate.model.Memory
-
Pop the current stack frame.
- position() - Method in class org.jamplate.model.Reference
-
Return where this reference starts at its document.
- positionInLine(Tree) - Static method in class org.jamplate.impl.util.Trees
-
Return the position of the given tree
on its line.
- primary - Variable in exception org.jamplate.model.IllegalTreeException
-
The primary tree.
- print(Message) - Method in interface org.jamplate.diagnostic.Diagnostic
-
Print the given message
.
- print(Message) - Method in class org.jamplate.impl.diagnostic.DiagnosticImpl
-
- print(CharSequence) - Method in class org.jamplate.model.Memory
-
Print the given text
to the console.
- PrintExecInstr - Class in org.jamplate.impl.instruction
-
PRINT( EXEC( INSTR ) )
- PrintExecInstr(Instruction) - Constructor for class org.jamplate.impl.instruction.PrintExecInstr
-
Construct a new instruction that prints the results from executing the given instruction
.
- PrintExecInstr(Tree, Instruction) - Constructor for class org.jamplate.impl.instruction.PrintExecInstr
-
Construct a new instruction that prints the results from executing the given instruction
.
- priority - Variable in class org.jamplate.impl.diagnostic.MessageImpl
-
The message priority.
- process(Compilation) - Method in class org.jamplate.impl.processor.AnalyzerProcessor
-
- process(Compilation) - Method in class org.jamplate.impl.processor.CompilerProcessor
-
- process(Compilation) - Method in class org.jamplate.impl.processor.ParserProcessor
-
- process(Compilation) - Method in class org.jamplate.impl.processor.SequentialProcessor
-
- process(Compilation) - Method in interface org.jamplate.model.function.Processor
-
Process the given compilation
.
- PROCESSOR - Static variable in class org.jamplate.impl.Jamplate
-
A processor that analyzes the default jamplate components searching for known
jamplate specs.
- Processor - Interface in org.jamplate.model.function
-
A processor is a function that takes a sketch and a compilation and process it its way
(for example: parsing its value).
- processors - Variable in class org.jamplate.impl.initializer.ProcessorsInitializer
-
The processors used by this initializer.
- processors - Variable in class org.jamplate.impl.processor.SequentialProcessor
-
The processors in order.
- Processors - Class in org.jamplate.impl
-
The post-parse processors.
- ProcessorsInitializer - Class in org.jamplate.impl.initializer
-
An initializer that initializes new compilations using a list of processors.
- ProcessorsInitializer(Processor...) - Constructor for class org.jamplate.impl.initializer.ProcessorsInitializer
-
Construct a new initializer that initializes using the given processors
.
- ProcessorsInitializer(List<Processor>) - Constructor for class org.jamplate.impl.initializer.ProcessorsInitializer
-
Construct a new initializer that initializes using the given processors
.
- PROJECT - Static variable in class org.jamplate.impl.Address
-
An address used to store the project directory.
- PROJECT - Static variable in class org.jamplate.impl.Meta
-
The key for the project directory.
- PseudoDocument - Class in org.jamplate.impl.model
-
A pseudo document that get made programmatically.
- PseudoDocument() - Constructor for class org.jamplate.impl.model.PseudoDocument
-
Construct a new pseudo document that has no content neither can be identified.
- PseudoDocument(CharSequence) - Constructor for class org.jamplate.impl.model.PseudoDocument
-
Construct a new pseudo document that have the given content
.
- PseudoDocument(String, CharSequence) - Constructor for class org.jamplate.impl.model.PseudoDocument
-
Construct a new pseudo document that have the given content
and be
identified with the given identifier
.
- push(Value) - Method in class org.jamplate.model.Frame
-
Push the given value
to the stack part of this memory.
- push(Value) - Method in class org.jamplate.model.Memory
-
Push the given value
to the stack part of this memory.
- PushAddExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( ADD( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushAddExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushAddExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of adding the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushAddExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushAddExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of adding the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushCmpExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( CMP( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushCmpExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushCmpExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of comparing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushCmpExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushCmpExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of comparing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushConst - Class in org.jamplate.impl.instruction
-
PUSH( CONST )
- PushConst(Tree) - Constructor for class org.jamplate.impl.instruction.PushConst
-
Construct a new instruction that pushes the content of the given tree
to
the stack.
- PushConst(String) - Constructor for class org.jamplate.impl.instruction.PushConst
-
Construct a new instruction that pushes the given constant
to the stack.
- PushConst(Tree, String) - Constructor for class org.jamplate.impl.instruction.PushConst
-
Construct a new instruction that pushes the given constant
to the stack.
- PushDefAddr - Class in org.jamplate.impl.instruction
-
PUSH( DEF( ADDR ) )
- PushDefAddr(String) - Constructor for class org.jamplate.impl.instruction.PushDefAddr
-
Construct a new instruction that pushes true
if the given address
is defined or pushes false
otherwise.
- PushDefAddr(Tree, String) - Constructor for class org.jamplate.impl.instruction.PushDefAddr
-
Construct a new instruction that pushes true
if the given address
is defined or pushes false
otherwise.
- PushDivExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( DIV( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushDivExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushDivExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of dividing the result of
executing the given instruction0
by the results of executing the given
instruction1
.
- PushDivExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushDivExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of dividing the result of
executing the given instruction0
by the results of executing the given
instruction1
.
- PushEqlExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( EQL( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushEqlExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushEqlExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of equating the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushEqlExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushEqlExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of equating the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushEvalAddr - Class in org.jamplate.impl.instruction
-
PUSH( EVAL( ADDR ) )
- PushEvalAddr(String) - Constructor for class org.jamplate.impl.instruction.PushEvalAddr
-
Construct a new instruction that evaluates the given address
then pushes
the results to the stack.
- PushEvalAddr(Tree, String) - Constructor for class org.jamplate.impl.instruction.PushEvalAddr
-
Construct a new instruction that evaluates the given address
then pushes
the results to the stack.
- pushFrame() - Method in class org.jamplate.model.Memory
-
Push a new frame.
- pushFrame(Frame) - Method in class org.jamplate.model.Memory
-
Push the given frame
in this memory.
- PushGetAddrExecInstr - Class in org.jamplate.impl.instruction
-
PUSH( Get( ADDR , EXEC( INSTR ) ) )
- PushGetAddrExecInstr(String, Instruction) - Constructor for class org.jamplate.impl.instruction.PushGetAddrExecInstr
-
Construct a new instruction that pushes the value in the given address
at
the results of executing the given instruction
to the heap.
- PushGetAddrExecInstr(Tree, String, Instruction) - Constructor for class org.jamplate.impl.instruction.PushGetAddrExecInstr
-
Construct a new instruction that pushes the value in the given address
at
the results of executing the given instruction
to the heap.
- PushLndExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( LND( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushLndExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushLndExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of "and"-ing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushLndExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushLndExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of "and"-ing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushLorExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( LOR( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushLorExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushLorExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of "or"-ing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushLorExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushLorExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of "or"-ing the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushModExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( MOD( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushModExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushModExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of applying "modulo" to the
result of executing the given instruction0
with the results of executing
the given instruction1
.
- PushModExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushModExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of applying "modulo" to the
result of executing the given instruction0
with the results of executing
the given instruction1
.
- PushMulExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( MUL( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushMulExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushMulExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of multiplying the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushMulExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushMulExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of multiplying the result of
executing the given instruction0
with the results of executing the given
instruction1
.
- PushNdefAddr - Class in org.jamplate.impl.instruction
-
PUSH( NDEF( ADDR ) )
- PushNdefAddr(String) - Constructor for class org.jamplate.impl.instruction.PushNdefAddr
-
Construct a new instruction that pushes false
if the given address
is defined or pushes true
otherwise.
- PushNdefAddr(Tree, String) - Constructor for class org.jamplate.impl.instruction.PushNdefAddr
-
Construct a new instruction that pushes false
if the given address
is defined or pushes true
otherwise.
- PushNegExecInstr - Class in org.jamplate.impl.instruction
-
PUSH( NEG( EXEC( INSTR ) ) )
- PushNegExecInstr(Instruction) - Constructor for class org.jamplate.impl.instruction.PushNegExecInstr
-
Construct a new instruction that pushes the results of negating the result of
executing the given instruction
.
- PushNegExecInstr(Tree, Instruction) - Constructor for class org.jamplate.impl.instruction.PushNegExecInstr
-
Construct a new instruction that pushes the results of negating the result of
executing the given instruction
.
- PushSubExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUSH( SUB( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) )
- PushSubExecInstr0ExecInstr1(Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushSubExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of subtracting the result of
executing the given instruction0
by the results of executing the given
instruction1
.
- PushSubExecInstr0ExecInstr1(Tree, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PushSubExecInstr0ExecInstr1
-
Construct a new instruction that pushes the results of subtracting the result of
executing the given instruction0
by the results of executing the given
instruction1
.
- put(Object, List<String>, Object) - Static method in class org.jamplate.impl.util.JSONUtil
-
Assuming the given object
is a JSONArray
or a JSONObject
,
put the given value
at given nesting keys
.
- put(Object, String, Object) - Static method in class org.jamplate.impl.util.JSONUtil
-
- PutAddrExecInstr0ExecInstr1 - Class in org.jamplate.impl.instruction
-
PUT( ADDR , EXEC( INSTR0 ) , EXEC( INSTR1 ) )
- PutAddrExecInstr0ExecInstr1(String, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PutAddrExecInstr0ExecInstr1
-
Construct a new instruction that puts the value of executing the given instruction1
to the value of executing the given instruction0
at the given
address
in the heap.
- PutAddrExecInstr0ExecInstr1(Tree, String, Instruction, Instruction) - Constructor for class org.jamplate.impl.instruction.PutAddrExecInstr0ExecInstr1
-
Construct a new instruction that puts the value of executing the given instruction1
to the value of executing the given instruction0
at the given
address
in the heap.