fr.umlv.tatoo.runtime.tools
Class DefaultParserListener<V,T extends V,N extends V,P extends Enum<P> & TypedProduction<V,N>>
java.lang.Object
fr.umlv.tatoo.runtime.tools.DefaultParserListener<V,T,N,P>
- All Implemented Interfaces:
- ParserListener<T,P>
public class DefaultParserListener<V,T extends V,N extends V,P extends Enum<P> & TypedProduction<V,N>>
- extends Object
- implements ParserListener<T,P>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultParserListener
public DefaultParserListener(Map<N,Class<?>> nonTerminalMap,
Map<T,Class<?>> terminalMap,
Object visitor,
Token token,
Class<P> productionClass)
shift
public void shift(T t)
- Specified by:
shift in interface ParserListener<T extends V,P extends Enum<P> & TypedProduction<V,N>>
accept
public void accept()
- Specified by:
accept in interface ParserListener<T extends V,P extends Enum<P> & TypedProduction<V,N>>
reduce
public void reduce(P production)
- Specified by:
reduce in interface ParserListener<T extends V,P extends Enum<P> & TypedProduction<V,N>>
error
public void error(String message,
T t)
- Specified by:
error in interface ParserListener<T extends V,P extends Enum<P> & TypedProduction<V,N>>