org.opencores.edifp
Class Symbol

java.lang.Object
  |
  +--org.opencores.edifp.Symbol

class Symbol
extends java.lang.Object

Lex passes this class.


Field Summary
(package private)  java.lang.Object o
          Object Symbol is connected to.
(package private)  int s
          Symbol identifier.
 
Constructor Summary
(package private) Symbol(int s)
          Constructs new symbol.
(package private) Symbol(int s, java.lang.Object o)
          Constructs new symbol.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

o

java.lang.Object o
Object Symbol is connected to.

s

int s
Symbol identifier.
See Also:
sym
Constructor Detail

Symbol

Symbol(int s)
Constructs new symbol.
Parameters:
s - id

Symbol

Symbol(int s,
       java.lang.Object o)
Constructs new symbol.
Parameters:
s - id
o - object
Method Detail

toString

public java.lang.String toString()
Returns:
symbol String representation
Overrides:
toString in class java.lang.Object