Package com.aquima.interactions.java_cup
Class ComplexSymbolFactory
- java.lang.Object
-
- com.aquima.interactions.java_cup.ComplexSymbolFactory
-
- All Implemented Interfaces:
SymbolFactory
public class ComplexSymbolFactory extends Object implements SymbolFactory
Default Implementation for SymbolFactory, creates plain old Symbols- Version:
- last updated 27-03-2006
- Author:
- Michael Petter CHECKSTYLE:OFF
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ComplexSymbolFactory.ComplexSymbol
ComplexSymbol with detailed Location Informations and a Namestatic class
ComplexSymbolFactory.Location
-
Constructor Summary
Constructors Constructor Description ComplexSymbolFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Symbol
newSymbol(String name, int id)
Symbol
newSymbol(String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right)
Symbol
newSymbol(String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right, Object value)
Symbol
newSymbol(String name, int id, Symbol left, Symbol right)
Symbol
newSymbol(String name, int id, Symbol left, Symbol right, Object value)
Construction with left/right propagation switched onSymbol
newSymbol(String name, int id, Object value)
Construction with left/right propagation switched offSymbol
startSymbol(String name, int id, int state)
Construction of start symbol
-
-
-
Method Detail
-
newSymbol
public Symbol newSymbol(String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right, Object value)
-
newSymbol
public Symbol newSymbol(String name, int id, ComplexSymbolFactory.Location left, ComplexSymbolFactory.Location right)
-
newSymbol
public Symbol newSymbol(String name, int id, Symbol left, Symbol right, Object value)
Description copied from interface:SymbolFactory
Construction with left/right propagation switched on- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
public Symbol newSymbol(String name, int id, Symbol left, Symbol right)
- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
public Symbol newSymbol(String name, int id)
- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
public Symbol newSymbol(String name, int id, Object value)
Description copied from interface:SymbolFactory
Construction with left/right propagation switched off- Specified by:
newSymbol
in interfaceSymbolFactory
-
startSymbol
public Symbol startSymbol(String name, int id, int state)
Description copied from interface:SymbolFactory
Construction of start symbol- Specified by:
startSymbol
in interfaceSymbolFactory
-
-