Свойство | Тип | Описание | |
---|---|---|---|
parserEventSupport | |||
ruleNames | string[] | ||
semPredNames | string[] |
Метод | Описание | |
---|---|---|
LA ( int i ) : int |
Return the token type of the ith token of lookahead where i=1 is the current token being examined by the parser (i.e., it has not been matched yet).
|
|
LLkDebuggingParser ( ParserSharedInputState state, int k_ ) : System.Threading | ||
LLkDebuggingParser ( TokenBuffer tokenBuf, int k_ ) : System.Threading | ||
LLkDebuggingParser ( TokenStream lexer, int k_ ) : System.Threading | ||
LLkDebuggingParser ( int k_ ) : System.Threading | ||
addMessageListener ( MessageListener l ) : void | ||
addParserListener ( ParserListener l ) : void | ||
addParserMatchListener ( ParserMatchListener l ) : void | ||
addParserTokenListener ( ParserTokenListener l ) : void | ||
addSemanticPredicateListener ( SemanticPredicateListener l ) : void | ||
addSyntacticPredicateListener ( SyntacticPredicateListener l ) : void | ||
addTraceListener ( TraceListener l ) : void | ||
consume ( ) : void |
Get another token object from the token stream
|
|
getRuleName ( int num ) : string | ||
getSemPredName ( int num ) : string | ||
goToSleep ( ) : void | ||
isDebugMode ( ) : bool | ||
isGuessing ( ) : bool | ||
match ( antlr.collections.impl.BitSet b ) : void |
Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
|
|
match ( int t ) : void |
Make sure current lookahead symbol matches token type t. Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
|
|
matchNot ( int t ) : void | ||
removeMessageListener ( MessageListener l ) : void | ||
removeParserListener ( ParserListener l ) : void | ||
removeParserMatchListener ( ParserMatchListener l ) : void | ||
removeParserTokenListener ( ParserTokenListener l ) : void | ||
removeSemanticPredicateListener ( SemanticPredicateListener l ) : void | ||
removeSyntacticPredicateListener ( SyntacticPredicateListener l ) : void | ||
removeTraceListener ( TraceListener l ) : void | ||
reportError ( RecognitionException ex ) : void |
Parser error-reporting function can be overridden in subclass
|
|
reportError ( string s ) : void |
Parser error-reporting function can be overridden in subclass
|
|
reportWarning ( string s ) : void |
Parser warning-reporting function can be overridden in subclass
|
|
setDebugMode ( bool mode ) : void | ||
setupDebugging ( TokenBuffer tokenBuf ) : void | ||
setupDebugging ( TokenStream lexer ) : void | ||
wakeUp ( ) : void |
Метод | Описание | |
---|---|---|
fireEnterRule ( int num, int data ) : void | ||
fireExitRule ( int num, int data ) : void | ||
fireSemanticPredicateEvaluated ( int type, int num, bool condition ) : bool | ||
fireSyntacticPredicateFailed ( ) : void | ||
fireSyntacticPredicateStarted ( ) : void | ||
fireSyntacticPredicateSucceeded ( ) : void | ||
setupDebugging ( TokenStream lexer, TokenBuffer tokenBuf ) : void |
User can override to do their own debugging
|
Метод | Описание | |
---|---|---|
InitBlock ( ) : void |
public LLkDebuggingParser ( ParserSharedInputState state, int k_ ) : System.Threading | ||
state | ParserSharedInputState | |
k_ | int | |
Результат | System.Threading |
public LLkDebuggingParser ( TokenBuffer tokenBuf, int k_ ) : System.Threading | ||
tokenBuf | TokenBuffer | |
k_ | int | |
Результат | System.Threading |
public LLkDebuggingParser ( TokenStream lexer, int k_ ) : System.Threading | ||
lexer | TokenStream | |
k_ | int | |
Результат | System.Threading |
public LLkDebuggingParser ( int k_ ) : System.Threading | ||
k_ | int | |
Результат | System.Threading |
public addMessageListener ( MessageListener l ) : void | ||
l | MessageListener | |
Результат | void |
public addParserListener ( ParserListener l ) : void | ||
l | ParserListener | |
Результат | void |
public addParserMatchListener ( ParserMatchListener l ) : void | ||
l | ParserMatchListener | |
Результат | void |
public addParserTokenListener ( ParserTokenListener l ) : void | ||
l | ParserTokenListener | |
Результат | void |
public addSemanticPredicateListener ( SemanticPredicateListener l ) : void | ||
l | SemanticPredicateListener | |
Результат | void |
public addSyntacticPredicateListener ( SyntacticPredicateListener l ) : void | ||
l | SyntacticPredicateListener | |
Результат | void |
public addTraceListener ( TraceListener l ) : void | ||
l | TraceListener | |
Результат | void |
protected fireEnterRule ( int num, int data ) : void | ||
num | int | |
data | int | |
Результат | void |
protected fireExitRule ( int num, int data ) : void | ||
num | int | |
data | int | |
Результат | void |
protected fireSemanticPredicateEvaluated ( int type, int num, bool condition ) : bool | ||
type | int | |
num | int | |
condition | bool | |
Результат | bool |
protected fireSyntacticPredicateFailed ( ) : void | ||
Результат | void |
protected fireSyntacticPredicateStarted ( ) : void | ||
Результат | void |
protected fireSyntacticPredicateSucceeded ( ) : void | ||
Результат | void |
public getSemPredName ( int num ) : string | ||
num | int | |
Результат | string |
public match ( antlr.collections.impl.BitSet b ) : void | ||
b | antlr.collections.impl.BitSet | |
Результат | void |
public removeMessageListener ( MessageListener l ) : void | ||
l | MessageListener | |
Результат | void |
public removeParserListener ( ParserListener l ) : void | ||
l | ParserListener | |
Результат | void |
public removeParserMatchListener ( ParserMatchListener l ) : void | ||
l | ParserMatchListener | |
Результат | void |
public removeParserTokenListener ( ParserTokenListener l ) : void | ||
l | ParserTokenListener | |
Результат | void |
public removeSemanticPredicateListener ( SemanticPredicateListener l ) : void | ||
l | SemanticPredicateListener | |
Результат | void |
public removeSyntacticPredicateListener ( SyntacticPredicateListener l ) : void | ||
l | SyntacticPredicateListener | |
Результат | void |
public removeTraceListener ( TraceListener l ) : void | ||
l | TraceListener | |
Результат | void |
public reportError ( RecognitionException ex ) : void | ||
ex | RecognitionException | |
Результат | void |
public setupDebugging ( TokenBuffer tokenBuf ) : void | ||
tokenBuf | TokenBuffer | |
Результат | void |
public setupDebugging ( TokenStream lexer ) : void | ||
lexer | TokenStream | |
Результат | void |
protected setupDebugging ( TokenStream lexer, TokenBuffer tokenBuf ) : void | ||
lexer | TokenStream | |
tokenBuf | TokenBuffer | |
Результат | void |
protected ParserEventSupport,Spring.Expressions.Parser.antlr.debug parserEventSupport | ||
Результат |