Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.
Each type of node is assigned a different id to make it easily possible to do a switch over all nodes.
The program counter of the original underyling bytecode instruction.
The program counter of the original underyling bytecode instruction.
This pc
is independent of the (implicit) index
of the statement
in the generated statements array! This pc is, e.g., useful for
getting line number information.
The first statement of the called subroutine.
The first statement of the called subroutine.
Calling this method is only supported after the quadruples representation
is created and the re-mapping of pc
s to instruction indexes has happened!
JSR/RET instructions in the bytecode are mapped to corresponding statements where the Ret instruction explicitly encodes the control flow by explicitly listing all target instructions. The target instructions implicitly encode the JSR instruction which called the subroutine.
At creation time the
pc
(absolute) of the target instruction in the original bytecode array; then the index of the respective quadruples instruction.