avrora.syntax
Class Item.NamedConstant

java.lang.Object
  extended byavrora.syntax.Item
      extended byavrora.syntax.Item.NamedConstant
Enclosing class:
Item

public static class Item.NamedConstant
extends Item

The NamedConstant item in a source program represents a directive that assigns a computable value to a name.


Nested Class Summary
 
Nested classes inherited from class avrora.syntax.Item
Item.InitializedData, Item.Instruction, Item.Label, Item.NamedConstant, Item.RegisterAlias, Item.UninitializedData
 
Field Summary
 
Fields inherited from class avrora.syntax.Item
byteAddress, module, segment
 
Method Summary
 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 avrora.syntax.Item
itemSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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

toString

public java.lang.String toString()