|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.runtime.DefaultSymbolFactory
public class DefaultSymbolFactory
Default Implementation for SymbolFactory, creates plain old Symbols
Constructor Summary | |
---|---|
DefaultSymbolFactory()
Deprecated. as of CUP v11a replaced by the new java_cup.runtime.ComplexSymbolFactory |
Method Summary | |
---|---|
Symbol |
newSymbol(java.lang.String name,
int id)
|
Symbol |
newSymbol(java.lang.String name,
int id,
int left,
int right)
|
Symbol |
newSymbol(java.lang.String name,
int id,
int left,
int right,
java.lang.Object value)
|
Symbol |
newSymbol(java.lang.String name,
int id,
Symbol left,
Symbol right)
|
Symbol |
newSymbol(java.lang.String name,
int id,
Symbol left,
Symbol right,
java.lang.Object value)
Construction with left/right propagation switched on |
Symbol |
newSymbol(java.lang.String name,
Pos pos,
int id,
java.lang.Object value)
Construction with left/right propagation switched off |
Symbol |
startSymbol(java.lang.String name,
int id,
int state)
Construction of start symbol |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultSymbolFactory()
Method Detail |
---|
public Symbol newSymbol(java.lang.String name, int id, Symbol left, Symbol right, java.lang.Object value)
SymbolFactory
newSymbol
in interface SymbolFactory
public Symbol newSymbol(java.lang.String name, int id, Symbol left, Symbol right)
newSymbol
in interface SymbolFactory
public Symbol newSymbol(java.lang.String name, int id, int left, int right, java.lang.Object value)
public Symbol newSymbol(java.lang.String name, int id, int left, int right)
public Symbol startSymbol(java.lang.String name, int id, int state)
SymbolFactory
startSymbol
in interface SymbolFactory
public Symbol newSymbol(java.lang.String name, int id)
newSymbol
in interface SymbolFactory
public Symbol newSymbol(java.lang.String name, Pos pos, int id, java.lang.Object value)
SymbolFactory
newSymbol
in interface SymbolFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |