public static final class TCustomParser.ProofLrConfiguration extends Object
The snapshot is taken while the cutoff token has been READ but not yet shifted, and before any action is looked up for it. So the stack is exactly "what the literal prefix committed to", with no influence from the unstable token — which is the whole point.
| Modifier and Type | Field and Description |
|---|---|
List<TCustomParser.ProofReduction> |
reductions
Reductions performed before the cutoff, in order.
|
int[] |
stateStack
The state stack, bottom first — a copy of
yys[1..yysp]. |
long |
stoppedBeforeOffset
Character offset of the token the parser stopped before.
|
int |
stoppedBeforeTokenCode
Token code of that token.
|
| Modifier and Type | Method and Description |
|---|---|
int |
depth()
Depth of the state stack.
|
int |
topState()
The state on top of the stack — the automaton's current state.
|
String |
toString() |
public final int[] stateStack
yys[1..yysp].public final long stoppedBeforeOffset
public final int stoppedBeforeTokenCode
public final List<TCustomParser.ProofReduction> reductions