Class Action
java.lang.Object
de.bottlecaps.markup.blitz.parser.Action
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe action code, interpreted depending on the action: - for SHIFT: the target state - for REDUCE and SHIFT_REDUCE: the reduction id - for FORK: the fork id - for ERROR and ACCEPT: 0 (not needed)private final Action.TypeThe action type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
type
The action type. -
argument
private final int argumentThe action code, interpreted depending on the action:- - for SHIFT: the target state
- - for REDUCE and SHIFT_REDUCE: the reduction id
- - for FORK: the fork id
- - for ERROR and ACCEPT: 0 (not needed)
-
-
Constructor Details
-
Action
-
-
Method Details
-
getType
-
getArgument
public int getArgument() -
code
public int code() -
code
-
of
-
toString
-