Package | Description |
---|---|
org.jamplate.impl.compiler |
A package containing implementations of the interface
Compiler . |
org.jamplate.impl.instruction |
A package containing implementations of the interface
Instruction . |
org.jamplate.impl.model |
A package containing implementations of the package
org.jamplate.model . |
org.jamplate.model |
A package that specifies that primary components of a processor that uses the
jamplate-style processing.
|
org.jamplate.model.function |
All about processors.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Instruction |
FilterByKindCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToIdleWhitespaceCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToReprntConstCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushConstUnescapeCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FallbackCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
MandatoryCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
CombineCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FirstCompileCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushConstCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
FlattenCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ExclusiveCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToIdleCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
@Nullable Instruction |
ToPushEvalAddrCompiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree) |
Modifier and Type | Class and Description |
---|---|
class |
AllocAddrConst
ALLOC( ADDR , CONST ) |
class |
AllocAddrExecInstr
ALLOC( ADDR , EXEC( INSTR ) ) |
class |
BranchExecInstr0Instr1Instr2
BRANCH( EXEC( INSTR0 ) , INSTR1 , INSTR2 ) |
class |
ConsoleExecInstr
CONSOLE( EXEC( INSTR ) ) |
class |
CpedAddrXinstr
CPED( ADDR , XINSTR ) |
class |
ExecImportExecInstr
EXEC( IMPORT( EXEC( INSTR ) ) ) |
class |
FallocAddrConst
FALLOC( ADDR , CONST ) |
class |
FpedAddrExecInstrXinstr
FPED( ADDR , EXEC( INSTR ) , XINSTR ) |
class |
FreeAddr
FREE( ADDR ) |
class |
Idle
IDLE |
class |
IpedXinstr
IPED( XINSTR ) |
class |
IterXinstr
ITER( XINSTR ) |
class |
PrintExecInstr
PRINT( EXEC( INSTR ) ) |
class |
PushAddExecInstr0ExecInstr1
PUSH( ADD( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushCmpExecInstr0ExecInstr1
PUSH( CMP( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushConst
PUSH( CONST ) |
class |
PushDefAddr
PUSH( DEF( ADDR ) ) |
class |
PushDivExecInstr0ExecInstr1
PUSH( DIV( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushEqlExecInstr0ExecInstr1
PUSH( EQL( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushEvalAddr
PUSH( EVAL( ADDR ) ) |
class |
PushGetAddrExecInstr
PUSH( Get( ADDR , EXEC( INSTR ) ) ) |
class |
PushLndExecInstr0ExecInstr1
PUSH( LND( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushLorExecInstr0ExecInstr1
PUSH( LOR( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushModExecInstr0ExecInstr1
PUSH( MOD( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushMulExecInstr0ExecInstr1
PUSH( MUL( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PushNdefAddr
PUSH( NDEF( ADDR ) ) |
class |
PushNegExecInstr
PUSH( NEG( EXEC( INSTR ) ) ) |
class |
PushSubExecInstr0ExecInstr1
PUSH( SUB( EXEC( INSTR0 ) , EXEC( INSTR1 ) ) ) ) |
class |
PutAddrExecInstr0ExecInstr1
PUT( ADDR , EXEC( INSTR0 ) , EXEC( INSTR1 ) ) |
class |
RepllocAddrExecInstr
REPLLOC( ADDR , EXEC( INSTR ) ) |
class |
RepreeAddr
REPREE( ADDR ) |
class |
ReprntConst
REPRNT( CONST ) |
class |
SerrExecInstr
SERR( EXEC( INSTR ) )
|
class |
SoutExecInstr
SOUT( EXEC( INSTR ) )
|
class |
SpreadExecInstr
An instruction that executes another instruction and spread the results to the heap.
|
class |
WpedInstrXinstr
WPED( INSTR , XINSTR ) |
Modifier and Type | Field and Description |
---|---|
protected @NotNull Instruction |
RepllocAddrExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
ConsoleExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
SpreadExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
SoutExecInstr.instruction
The instruction to output its results.
|
protected @NotNull Instruction |
AllocAddrExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
SerrExecInstr.instruction
The instruction to output its results.
|
protected @NotNull Instruction |
PushGetAddrExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
PushNegExecInstr.instruction
The instruction in the problem.
|
protected @NotNull Instruction |
PrintExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
ExecImportExecInstr.instruction
The instruction to be executed.
|
protected @NotNull Instruction |
WpedInstrXinstr.instruction
The condition instruction.
|
protected @NotNull Instruction |
FpedAddrExecInstrXinstr.instruction
The instruction to iterate the items resultant from executing it.
|
protected @NotNull Instruction |
PushMulExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushEqlExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PutAddrExecInstr0ExecInstr1.instruction0
The instruction of the key to be put.
|
protected @NotNull Instruction |
PushSubExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
BranchExecInstr0Instr1Instr2.instruction0
The condition instruction.
|
protected @NotNull Instruction |
PushLndExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushLorExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushModExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushDivExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushCmpExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushAddExecInstr0ExecInstr1.instruction0
The first instruction in the problem.
|
protected @NotNull Instruction |
PushMulExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushEqlExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PutAddrExecInstr0ExecInstr1.instruction1
The instruction of the value to be put.
|
protected @NotNull Instruction |
PushSubExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
BranchExecInstr0Instr1Instr2.instruction1
The instruction to be executed when the condition passes.
|
protected @NotNull Instruction |
PushLndExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushLorExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushModExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushDivExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushCmpExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
PushAddExecInstr0ExecInstr1.instruction1
The second instruction in the problem.
|
protected @NotNull Instruction |
BranchExecInstr0Instr1Instr2.instruction2
The instruction to be executed when the condition fails.
|
Constructor and Description |
---|
AllocAddrExecInstr(@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that allocates the results from executing the given
instruction to the given address at the heap. |
AllocAddrExecInstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that allocates the results from executing the given
instruction to the given address at the heap. |
BranchExecInstr0Instr1Instr2(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed. |
BranchExecInstr0Instr1Instr2(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed. |
BranchExecInstr0Instr1Instr2(@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
BranchExecInstr0Instr1Instr2(@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
BranchExecInstr0Instr1Instr2(@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
BranchExecInstr0Instr1Instr2(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed. |
BranchExecInstr0Instr1Instr2(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed. |
BranchExecInstr0Instr1Instr2(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
BranchExecInstr0Instr1Instr2(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
BranchExecInstr0Instr1Instr2(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1,
@NotNull Instruction instruction2)
Construct a new instruction that executes the given
instruction0 and
executes the given instruction1 when the condition succeed and execute the
given instruction2 when the condition fails. |
ConsoleExecInstr(@NotNull Instruction instruction)
Construct a new instruction that sets the console to be outputting to the file with
the name equals to the results of evaluating the value returned from executing the
given
instruction . |
ConsoleExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that sets the console to be outputting to the file with
the name equals to the results of evaluating the value returned from executing the
given
instruction . |
CpedAddrXinstr(@NotNull java.lang.String address,
Instruction... instructions)
Construct a new instruction that executes the given
instructions and
capture their output then allocate it to the given address in the heap. |
CpedAddrXinstr(@NotNull Tree tree,
@NotNull java.lang.String address,
Instruction... instructions)
Construct a new instruction that executes the given
instructions and
capture their output then allocate it to the given address in the heap. |
ExecImportExecInstr(@NotNull Instruction instruction)
Construct a new instruction that import the instruction with the results of
executing the given
instruction . |
ExecImportExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that import the instruction with the results of
executing the given
instruction . |
FpedAddrExecInstrXinstr(@NotNull java.lang.String address,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
FpedAddrExecInstrXinstr(@NotNull java.lang.String address,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
FpedAddrExecInstrXinstr(@NotNull java.lang.String address,
@NotNull Instruction instruction,
@NotNull java.util.List<Instruction> instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
FpedAddrExecInstrXinstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
FpedAddrExecInstrXinstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
FpedAddrExecInstrXinstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction,
@NotNull java.util.List<Instruction> instructions)
Construct a new instruction that executes the given
instructions foreach
item resultant from executing the given instruction . |
IpedXinstr(Instruction... instructions)
Construct a new instruction that executes the given
instructions in order
in IPED style. |
IpedXinstr(@NotNull Tree tree,
Instruction... instructions)
Construct a new instruction that executes the given
instructions in order
in a IPED style. |
IterXinstr(Instruction... instructions)
Construct a new instruction that executes the given
instructions in order
in ITER style. |
IterXinstr(@NotNull Tree tree,
Instruction... instructions)
Construct a new instruction that executes the given
instructions in order
in a ITER style. |
PrintExecInstr(@NotNull Instruction instruction)
Construct a new instruction that prints the results from executing the given
instruction . |
PrintExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that prints the results from executing the given
instruction . |
PushAddExecInstr0ExecInstr1(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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 . |
PushDivExecInstr0ExecInstr1(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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 . |
PushGetAddrExecInstr(@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that pushes the value in the given
address at
the results of executing the given instruction to the heap. |
PushGetAddrExecInstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that pushes the value in the given
address at
the results of executing the given instruction to the heap. |
PushLndExecInstr0ExecInstr1(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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 . |
PushNegExecInstr(@NotNull Instruction instruction)
Construct a new instruction that pushes the results of negating the result of
executing the given
instruction . |
PushNegExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that pushes the results of negating the result of
executing the given
instruction . |
PushSubExecInstr0ExecInstr1(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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 . |
PutAddrExecInstr0ExecInstr1(@NotNull java.lang.String address,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull java.lang.String address,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction0,
@NotNull Instruction instruction1)
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. |
RepllocAddrExecInstr(@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that allocates the results from executing the given
instruction to the given address as the address in REPLLOC style. |
RepllocAddrExecInstr(@NotNull Tree tree,
@NotNull java.lang.String address,
@NotNull Instruction instruction)
Construct a new instruction that allocates the results from executing the given
instruction to the given address as the address in REPLLOC style. |
SerrExecInstr(@NotNull Instruction instruction)
Construct a new instruction that executes the given
instruction and outputs
its results to the system error console. |
SerrExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that executes the given
instruction and outputs
its results to the system erro console. |
SoutExecInstr(@NotNull Instruction instruction)
Construct a new instruction that executes the given
instruction and outputs
its results to the system console. |
SoutExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that executes the given
instruction and outputs
its results to the system console. |
SpreadExecInstr(@NotNull Instruction instruction)
Construct a new instruction that execute the given
instruction and spread
the results to the heap. |
SpreadExecInstr(@NotNull Tree tree,
@NotNull Instruction instruction)
Construct a new instruction that execute the given
instruction and spread
the results to the heap. |
WpedInstrXinstr(@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
WpedInstrXinstr(@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
WpedInstrXinstr(@NotNull Instruction instruction,
@NotNull java.util.List<Instruction> instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
WpedInstrXinstr(@NotNull Tree tree,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
WpedInstrXinstr(@NotNull Tree tree,
@NotNull Instruction instruction,
Instruction... instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
WpedInstrXinstr(@NotNull Tree tree,
@NotNull Instruction instruction,
@NotNull java.util.List<Instruction> instructions)
Construct a new instruction that executes the given
instructions while
executing the given instruction evaluates to true. |
Modifier and Type | Field and Description |
---|---|
protected @Nullable Instruction |
CompilationImpl.instruction
The instruction of this compilation.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Instruction |
CompilationImpl.getInstruction() |
Modifier and Type | Method and Description |
---|---|
void |
CompilationImpl.setInstruction(@NotNull Instruction instruction) |
Modifier and Type | Method and Description |
---|---|
static @NotNull Instruction |
Instruction.create(@NotNull Instruction instruction)
Wrap the given
instruction with another instruction delegates to the given
instruction when executed. |
static @NotNull Instruction |
Instruction.create(@NotNull Tree tree,
@NotNull Instruction instruction)
Wrap the given
instruction with another instruction delegates to the given
instruction when executed and return the given tree when its getTree() is called. |
@Nullable Instruction |
Compilation.getInstruction()
Return the instruction set for this compilation.
|
@Nullable Instruction |
Frame.getInstruction()
Return the instruction of this frame.
|
Modifier and Type | Method and Description |
---|---|
static @NotNull Instruction |
Instruction.create(@NotNull Instruction instruction)
Wrap the given
instruction with another instruction delegates to the given
instruction when executed. |
static @NotNull Instruction |
Instruction.create(@NotNull Tree tree,
@NotNull Instruction instruction)
Wrap the given
instruction with another instruction delegates to the given
instruction when executed and return the given tree when its getTree() is called. |
void |
Compilation.setInstruction(@NotNull Instruction instruction)
Set the intrusion of the compilation to be the given
instruction . |
void |
Frame.setInstruction(@NotNull Instruction instruction)
Set the instruction of this frame to be the given
instruction . |
Constructor and Description |
---|
Frame(@NotNull Instruction instruction)
Construct a new frame with the given
instruction . |
Modifier and Type | Method and Description |
---|---|
@Nullable Instruction |
Compiler.compile(@NotNull Compiler compiler,
@NotNull Compilation compilation,
@NotNull Tree tree)
Compile the given
tree and the trees in it. |