Свойство | Тип | Описание | |
---|---|---|---|
currentParseTreeRoot | System.Collections.Stack | ||
mostRecentParseTreeRoot | antlr.ParseTreeRule | ||
numberOfDerivationSteps | int |
Метод | Описание | |
---|---|---|
ParseTreeDebugParser ( antlr.ParserSharedInputState state, int k_ ) : antlr | ||
ParseTreeDebugParser ( antlr.TokenBuffer tokenBuf, int k_ ) : antlr | ||
ParseTreeDebugParser ( TokenStream lexer, int k_ ) : antlr | ||
ParseTreeDebugParser ( int k_ ) : antlr | ||
getNumberOfDerivationSteps ( ) : int | ||
getParseTree ( ) : antlr.ParseTree | ||
match ( antlr.collections.impl.BitSet bitSet ) : void | ||
match ( int i ) : void | ||
matchNot ( int i ) : void | ||
traceIn ( string s ) : void |
Create a rule node, add to current tree, and make it current root
|
|
traceOut ( string s ) : void |
Pop current root; back to adding to old root
|
Метод | Описание | |
---|---|---|
addCurrentTokenToParseTree ( ) : void |
Adds LT(1) to the current parse subtree. Note that the match() routines add the node before checking for correct match. This means that, upon mismatched token, there will a token node in the tree corresponding to where that token was expected. For no viable alternative errors, no node will be in the tree as nothing was matched() (the lookahead failed to predict an alternative). |
public ParseTreeDebugParser ( antlr.ParserSharedInputState state, int k_ ) : antlr | ||
state | antlr.ParserSharedInputState | |
k_ | int | |
Результат | antlr |
public ParseTreeDebugParser ( antlr.TokenBuffer tokenBuf, int k_ ) : antlr | ||
tokenBuf | antlr.TokenBuffer | |
k_ | int | |
Результат | antlr |
public ParseTreeDebugParser ( TokenStream lexer, int k_ ) : antlr | ||
lexer | TokenStream | |
k_ | int | |
Результат | antlr |
public ParseTreeDebugParser ( int k_ ) : antlr | ||
k_ | int | |
Результат | antlr |
protected addCurrentTokenToParseTree ( ) : void | ||
Результат | void |
public getNumberOfDerivationSteps ( ) : int | ||
Результат | int |
public match ( antlr.collections.impl.BitSet bitSet ) : void | ||
bitSet | antlr.collections.impl.BitSet | |
Результат | void |
protected System.Collections.Stack currentParseTreeRoot | ||
Результат | System.Collections.Stack |
protected ParseTreeRule,antlr mostRecentParseTreeRoot | ||
Результат | antlr.ParseTreeRule |