Package com.aquima.interactions.java_cup
Class DefaultSymbolFactory
java.lang.Object
com.aquima.interactions.java_cup.DefaultSymbolFactory
- All Implemented Interfaces:
SymbolFactory
Default Implementation for SymbolFactory, creates plain old Symbols
- Version:
- last updated 27-03-2006
- Author:
- Michael Petter CHECKSTYLE:OFF
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstruction with left/right propagation switched onConstruction with left/right propagation switched offstartSymbol
(String name, int id, int state) Construction of start symbol
-
Constructor Details
-
DefaultSymbolFactory
public DefaultSymbolFactory()DefaultSymbolFactory for CUP. Users are strongly encoraged to use ComplexSymbolFactory instead, since it offers more detailed information about Symbols in source code. Yet since migrating has always been a critical process, You have the chance of still using the oldstyle Symbols. replaced by the new java_cup.runtime.ComplexSymbolFactory
-
-
Method Details
-
newSymbol
Description copied from interface:SymbolFactory
Construction with left/right propagation switched on- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
-
newSymbol
-
newSymbol
- Specified by:
newSymbol
in interfaceSymbolFactory
-
newSymbol
Description copied from interface:SymbolFactory
Construction with left/right propagation switched off- Specified by:
newSymbol
in interfaceSymbolFactory
-
startSymbol
Description copied from interface:SymbolFactory
Construction of start symbol- Specified by:
startSymbol
in interfaceSymbolFactory
-