|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava_cup.runtime.Symbol
Defines the Symbol class, which is used to represent all terminals and nonterminals while parsing. The lexer should pass CUP Symbols and CUP returns a Symbol.
| Field Summary | |
int |
left
The data passed to parser |
int |
parse_state
The parse state to be recorded on the parse stack with this symbol. |
int |
right
The data passed to parser |
int |
sym
The symbol number of the terminal or non terminal being represented |
Object |
value
|
| Constructor Summary | |
Symbol(int sym_num)
Constructor for no value or l,r |
|
Symbol(int id,
int l,
int r)
Constructor for no value |
|
Symbol(int id,
int l,
int r,
Object o)
Constructor for l,r values |
|
Symbol(int id,
Object o)
Constructor for no l,r values |
|
| Method Summary | |
String |
toString()
Printing this token out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public int sym
public int parse_state
public int left
public int right
public Object value
| Constructor Detail |
public Symbol(int id,
int l,
int r,
Object o)
public Symbol(int id,
Object o)
public Symbol(int id,
int l,
int r)
public Symbol(int sym_num)
| Method Detail |
public String toString()
|
eRqlEngine API documentation - http://www.wleklinski.de/rdf/ | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||