public interface Transition
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
State |
apply(State state)
Applies this transition to get a new state.
|
State |
apply(State state,
double scoreDelta)
Applies this transition to get a new state.
|
boolean |
isLegal(State state,
java.util.List<ParserConstraint> constraints)
Whether or not it is legal to apply this transition to this state.
|
boolean isLegal(State state, java.util.List<ParserConstraint> constraints)