fr.umlv.tatoo.runtime.parser
Class ErrorAction<T,P>
java.lang.Object
fr.umlv.tatoo.runtime.parser.ErrorAction<T,P>
- Type Parameters:
T - type of terminalP - type of production.
- All Implemented Interfaces:
- Action<T,P>
public class ErrorAction<T,P>
- extends Object
- implements Action<T,P>
- Author:
- julien
ErrorAction
public ErrorAction()
ErrorAction
public ErrorAction(String message)
perform
public void perform(ParserListener<? super T,? super P> listener,
IntArrayList states,
T token)
- Specified by:
perform in interface Action<T,P>
getMessage
public String getMessage()
isShift
public boolean isShift()
- Specified by:
isShift in interface Action<T,P>
isAccept
public boolean isAccept()
- Specified by:
isAccept in interface Action<T,P>
isError
public boolean isError()
- Specified by:
isError in interface Action<T,P>
toString
public String toString()
- Overrides:
toString in class Object