public class CpedAddrXinstr extends java.lang.Object implements Instruction
CPED( ADDR , XINSTR )| Modifier and Type | Field and Description | 
|---|---|
protected @NotNull java.lang.String | 
address
The address to allocate the captured text to. 
 | 
protected @NotNull java.util.List<Instruction> | 
instructions
The instructions to capture its output. 
 | 
protected @Nullable Tree | 
tree
The tree from where this instruction was declared. 
 | 
| Constructor and Description | 
|---|
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 java.lang.String address,
              @NotNull java.util.List<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. | 
CpedAddrXinstr(@NotNull Tree tree,
              @NotNull java.lang.String address,
              @NotNull java.util.List<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. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
exec(@NotNull Environment environment,
    @NotNull Memory memory)
Execute this instruction with the given  
environment and memory. | 
@Nullable Tree | 
getTree()
Return the tree from where this instruction was declared. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, create@NotNull protected final @NotNull java.lang.String address
@NotNull protected final @NotNull java.util.List<Instruction> instructions
@Nullable protected final @Nullable Tree tree
public CpedAddrXinstr(@NotNull
                      @NotNull java.lang.String address,
                      @Nullable
                      Instruction... instructions)
instructions and
 capture their output then allocate it to the given address in the heap.
 address - the address where to allocate the captured text to.instructions - the instructions to be executed and their output to be
                     captured.java.lang.NullPointerException - if the given address or instructions
                              is null.public CpedAddrXinstr(@NotNull
                      @NotNull java.lang.String address,
                      @NotNull
                      @NotNull java.util.List<Instruction> instructions)
instructions and
 capture their output then allocate it to the given address in the heap.
 address - the address where to allocate the captured text to.instructions - the instructions to be executed and their output to be
                     captured.java.lang.NullPointerException - if the given address or instructions
                              is null.public CpedAddrXinstr(@NotNull
                      @NotNull Tree tree,
                      @NotNull
                      @NotNull java.lang.String address,
                      @Nullable
                      Instruction... instructions)
instructions and
 capture their output then allocate it to the given address in the heap.
 tree - the tree from where this instruction was declared.address - the address where to allocate the captured text to.instructions - the instructions to be executed and their output to be
                     captured.java.lang.NullPointerException - if the given tree or address or instructions is null.public CpedAddrXinstr(@NotNull
                      @NotNull Tree tree,
                      @NotNull
                      @NotNull java.lang.String address,
                      @NotNull
                      @NotNull java.util.List<Instruction> instructions)
instructions and
 capture their output then allocate it to the given address in the heap.
 tree - the tree from where this instruction was declared.address - the address where to allocate the captured text to.instructions - the instructions to be executed and their output to be
                     captured.java.lang.NullPointerException - if the given tree or address or instructions is null.public void exec(@NotNull
                 @NotNull Environment environment,
                 @NotNull
                 @NotNull Memory memory)
Instructionenvironment and memory.exec in interface Instructionenvironment - the environment this instruction is executed in.memory - the memory holding the variables for this instruction to depend
                    on.@Nullable public @Nullable Tree getTree()
InstructiongetTree in interface Instruction