com.cmpware.tools
Class AutoModel.Symbol

java.lang.Object
  extended by com.cmpware.tools.AutoModel.Symbol
Enclosing class:
AutoModel

public static final class AutoModel.Symbol
extends java.lang.Object

This class defines a symbol. It is simply a name / value pair. This is used for any symbolic value used anywhere in the assembler. One example might be the pair {"zero", 0}.


Field Summary
 java.lang.String name
          The symbol name
 int value
          The symbol value
 
Constructor Summary
AutoModel.Symbol(java.lang.String name, int value)
          Constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
The symbol name


value

public int value
The symbol value

Constructor Detail

AutoModel.Symbol

public AutoModel.Symbol(java.lang.String name,
                        int value)
Constructor

Parameters:
name - The symbol name
value - the symbol value