|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava_cup.runtime.ComplexSymbolFactory
public class ComplexSymbolFactory
Default Implementation for SymbolFactory, creates plain old Symbols
Nested Class Summary | |
---|---|
static class |
ComplexSymbolFactory.ComplexSymbol
ComplexSymbol with detailed Location Informations and a Name |
static class |
ComplexSymbolFactory.Location
|
Constructor Summary | |
---|---|
ComplexSymbolFactory()
|
Method Summary | |
---|---|
Symbol |
newSymbol(java.lang.String name,
int id)
|
Symbol |
newSymbol(java.lang.String name,
int id,
ComplexSymbolFactory.Location left,
ComplexSymbolFactory.Location right)
|
Symbol |
newSymbol(java.lang.String name,
int id,
ComplexSymbolFactory.Location left,
ComplexSymbolFactory.Location right,
java.lang.Object value)
|
Symbol |
newSymbol(java.lang.String name,
int id,
java.lang.Object value)
Construction with left/right propagation switched off |
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 |
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 ComplexSymbolFactory()
Method Detail |
---|
public Symbol newSymbol(java.lang.String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right, java.lang.Object value)
public Symbol newSymbol(java.lang.String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right)
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)
newSymbol
in interface SymbolFactory
public Symbol newSymbol(java.lang.String name, int id, java.lang.Object value)
SymbolFactory
newSymbol
in interface SymbolFactory
public Symbol startSymbol(java.lang.String name, int id, int state)
SymbolFactory
startSymbol
in interface SymbolFactory
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |