java.lang.Object
org.maloi.evolvo.expressiontree.vm.Instruction
- public class Instruction
- extends java.lang.Object
A single instruction for a simple stack machine.
Yes, this is made up almost entirely of public data members.
Yes, that's what I wanted.
Actually, I wanted a C-style struct. But this is the closest I can get.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_VALUE
public static final byte TYPE_VALUE
- See Also:
- Constant Field Values
TYPE_REGISTER
public static final byte TYPE_REGISTER
- See Also:
- Constant Field Values
TYPE_OPERATOR
public static final byte TYPE_OPERATOR
- See Also:
- Constant Field Values
type
public byte type
value
public double value
reg
public int reg
op
public org.maloi.evolvo.expressiontree.operators.OperatorInterface op
Instruction
public Instruction()
Instruction
public Instruction(Instruction inst)