|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PositionForInterpretation
An interface to a tuple position for interpretation.
This is differentiated from a position interface for compilation because compilation requires linear access (i.e., non-jumps) to the tuple list, while interpretation requires this as well as jump capability.
| Method Summary | |
|---|---|
int |
current()
|
void |
jump(Address address)
Reposition to the tuple located at a particular address. |
void |
jump(int idx)
Reposition to the tuple located at a particular index into the tuple list (queue).. |
| Methods inherited from interface org.jawk.intermediate.Position |
|---|
addressArg, arg, boolArg, classArg, intArg, isEOF, lineNumber, next, opcode |
| Method Detail |
|---|
void jump(Address address)
address - The target address for the jump.int current()
void jump(int idx)
idx - The target index for the jump.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||