fr.umlv.tatoo.runtime.parser
Class AcceptAction<T,P>
java.lang.Object
fr.umlv.tatoo.runtime.parser.AcceptAction<T,P>
- Type Parameters:
T - type of terminals.P - type of productions.
- All Implemented Interfaces:
- Action<T,P>
public class AcceptAction<T,P>
- extends Object
- implements Action<T,P>
- Author:
- julien
perform
public void perform(ParserListener<? super T,? super P> listener,
IntArrayList states,
T t)
- Specified by:
perform in interface Action<T,P>
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
getInstance
public static <T,P> AcceptAction<T,P> getInstance()