avrora.syntax
Class Item.Instruction
java.lang.Object
avrora.syntax.Item
avrora.syntax.Item.Instruction
- Enclosing class:
- Item
- public static class Item.Instruction
- extends Item
The Instruction
item in a source program represents an instruction that must be simplified
and added to the program. This is generally only applicable to the program (code) section.
Method Summary |
int |
itemSize()
|
void |
simplify()
The simplify() method reduces any computable constants to values, resolves register
aliases, and creates instruction instances within this item, depending on exactly which type of item it
is. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
variant
protected final java.lang.String variant
name
protected final AbstractToken name
operands
protected final SyntacticOperand[] operands
proto
protected final InstrPrototype proto
simplify
public void simplify()
- Description copied from class:
Item
- The
simplify()
method reduces any computable constants to values, resolves register
aliases, and creates instruction instances within this item, depending on exactly which type of item it
is.
- Specified by:
simplify
in class Item
itemSize
public int itemSize()
- Overrides:
itemSize
in class Item
toString
public java.lang.String toString()