public class TCustomParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TCustomParser.ProofLrConfiguration
The automaton's configuration at the proof cutoff: the state stack as it
stood when the parser first needed a token at or beyond the cutoff, plus
every reduction performed before that point.
|
static class |
TCustomParser.ProofReduction
One reduction the automaton performed, recorded before the stack is popped.
|
| Modifier and Type | Field and Description |
|---|---|
TCustomLexer |
lexer |
TNodeFactory |
nf |
static int |
PROOF_LR_STOPPED_AT_CUTOFF
Returned by
do_yyparse(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], java.util.Map<java.lang.Integer, int[]>) when it stopped at the proof cutoff. |
TParseTreeNode |
rootNode |
TSourceTokenList |
sourcetokenlist |
TCustomSqlStatement |
sql |
ISqlCmds |
sqlcmds |
| Modifier and Type | Method and Description |
|---|---|
int |
do_yyparse(int[] p_yyd,
int[] p_yyal,
int[] p_yyah,
int[] p_yya_sym,
int[] p_yya_act,
int[] p_yygl,
int[] p_yygh,
int[] p_yyg_sym,
int[] p_yyg_act,
int[] p_yyr_len,
int[] p_yyr_sym,
Map<Integer,int[]> p_rollbackTokens) |
TNodeFactory |
getNf() |
int |
getProofKeywordRollbackEvents() |
TCustomParser.ProofLrConfiguration |
getProofLrConfiguration()
The configuration captured at the cutoff, or null if it was never reached.
|
int |
getProofRecoveryEvents() |
void |
setProofLrCutoffOffset(long offset)
Arm the observer.
|
int |
yyparse() |
public static final int PROOF_LR_STOPPED_AT_CUTOFF
do_yyparse(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], java.util.Map<java.lang.Integer, int[]>) when it stopped at the proof cutoff.public TSourceTokenList sourcetokenlist
public TNodeFactory nf
public TParseTreeNode rootNode
public TCustomLexer lexer
public TCustomSqlStatement sql
public int getProofRecoveryEvents()
proofRecoveryEventspublic int getProofKeywordRollbackEvents()
proofKeywordRollbackEventspublic void setProofLrCutoffOffset(long offset)
yyparse(). Observation is
read-only: the parse proceeds exactly as it otherwise would, up to the
cutoff, at which point it stops WITHOUT entering error recovery (recovery
unwinds the very stack we are trying to read).public TCustomParser.ProofLrConfiguration getProofLrConfiguration()
public TNodeFactory getNf()
public int do_yyparse(int[] p_yyd, int[] p_yyal, int[] p_yyah, int[] p_yya_sym, int[] p_yya_act, int[] p_yygl, int[] p_yygh, int[] p_yyg_sym, int[] p_yyg_act, int[] p_yyr_len, int[] p_yyr_sym, Map<Integer,int[]> p_rollbackTokens)
public int yyparse()