autohit.vm
Class VMIWhile
java.lang.Object
|
+--autohit.vm.VMInstruction
|
+--autohit.vm.VMIWhile
- public class VMIWhile
- extends VMInstruction
A Virtual Machine instruction. This impliments the tail of a
while loop. If the expression matches the value, then the ip
will changed to point to the instruction following the
block starting SCOPE. Otherwise, the ip is incremented to point
to the following RSCOPE.
ip (Instruction Pointer) Flow
expression == value
------------------
| |
V |
[SCOPE] ..code block.. [WHILE][RSCOPE]
| ^
-------|
expression != value
- See Also:
VMInstruction
, Serialized Form
Field Summary |
java.lang.String |
e
Expresion |
int |
target
Target if expression true. |
java.lang.String |
value
Test value. |
Fields inherited from class autohit.vm.VMInstruction |
ADD,
CRC,
EXEC,
FOR,
GET,
HEADER,
IF,
iv,
IVToken,
JUMP,
NOP,
nToken,
NV,
RSCOPE,
SCOPE,
SEEK,
SET,
VERIFY,
WAIT,
WHILE |
Constructor Summary |
VMIWhile()
Default constructor. |
Method Summary |
java.lang.String |
toString()
Dump this Instruction. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
e
public java.lang.String e
- Expresion
value
public java.lang.String value
- Test value.
target
public int target
- Target if expression true.
VMIWhile
public VMIWhile()
- Default constructor.
toString
public java.lang.String toString()
- Dump this Instruction. Mostly for debugging.
- Returns:
- a String containing the dump.
- Overrides:
- toString in class VMInstruction