C# Class Spring.Expressions.Parser.antlr.debug.LLkDebuggingParser

Inheritance: LLkParser, DebuggingParser
Afficher le fichier Open project: spring-projects/spring-net

Protected Properties

Свойство Type Description
parserEventSupport ParserEventSupport
ruleNames string[]
semPredNames string[]

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
InitBlock ( ) : void

Method Details

LA() public méthode

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).
public LA ( int i ) : int
i int
Résultat int

LLkDebuggingParser() public méthode

public LLkDebuggingParser ( ParserSharedInputState state, int k_ ) : System.Threading
state ParserSharedInputState
k_ int
Résultat System.Threading

LLkDebuggingParser() public méthode

public LLkDebuggingParser ( TokenBuffer tokenBuf, int k_ ) : System.Threading
tokenBuf TokenBuffer
k_ int
Résultat System.Threading

LLkDebuggingParser() public méthode

public LLkDebuggingParser ( TokenStream lexer, int k_ ) : System.Threading
lexer TokenStream
k_ int
Résultat System.Threading

LLkDebuggingParser() public méthode

public LLkDebuggingParser ( int k_ ) : System.Threading
k_ int
Résultat System.Threading

addMessageListener() public méthode

public addMessageListener ( MessageListener l ) : void
l MessageListener
Résultat void

addParserListener() public méthode

public addParserListener ( ParserListener l ) : void
l ParserListener
Résultat void

addParserMatchListener() public méthode

public addParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
Résultat void

addParserTokenListener() public méthode

public addParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
Résultat void

addSemanticPredicateListener() public méthode

public addSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
Résultat void

addSyntacticPredicateListener() public méthode

public addSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
Résultat void

addTraceListener() public méthode

public addTraceListener ( TraceListener l ) : void
l TraceListener
Résultat void

consume() public méthode

Get another token object from the token stream
public consume ( ) : void
Résultat void

fireEnterRule() protected méthode

protected fireEnterRule ( int num, int data ) : void
num int
data int
Résultat void

fireExitRule() protected méthode

protected fireExitRule ( int num, int data ) : void
num int
data int
Résultat void

fireSemanticPredicateEvaluated() protected méthode

protected fireSemanticPredicateEvaluated ( int type, int num, bool condition ) : bool
type int
num int
condition bool
Résultat bool

fireSyntacticPredicateFailed() protected méthode

protected fireSyntacticPredicateFailed ( ) : void
Résultat void

fireSyntacticPredicateStarted() protected méthode

protected fireSyntacticPredicateStarted ( ) : void
Résultat void

fireSyntacticPredicateSucceeded() protected méthode

protected fireSyntacticPredicateSucceeded ( ) : void
Résultat void

getRuleName() public méthode

public getRuleName ( int num ) : string
num int
Résultat string

getSemPredName() public méthode

public getSemPredName ( int num ) : string
num int
Résultat string

goToSleep() public méthode

public goToSleep ( ) : void
Résultat void

isDebugMode() public méthode

public isDebugMode ( ) : bool
Résultat bool

isGuessing() public méthode

public isGuessing ( ) : bool
Résultat bool

match() public méthode

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.
public match ( antlr.collections.impl.BitSet b ) : void
b antlr.collections.impl.BitSet
Résultat void

match() public méthode

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.
public match ( int t ) : void
t int
Résultat void

matchNot() public méthode

public matchNot ( int t ) : void
t int
Résultat void

removeMessageListener() public méthode

public removeMessageListener ( MessageListener l ) : void
l MessageListener
Résultat void

removeParserListener() public méthode

public removeParserListener ( ParserListener l ) : void
l ParserListener
Résultat void

removeParserMatchListener() public méthode

public removeParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
Résultat void

removeParserTokenListener() public méthode

public removeParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
Résultat void

removeSemanticPredicateListener() public méthode

public removeSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
Résultat void

removeSyntacticPredicateListener() public méthode

public removeSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
Résultat void

removeTraceListener() public méthode

public removeTraceListener ( TraceListener l ) : void
l TraceListener
Résultat void

reportError() public méthode

Parser error-reporting function can be overridden in subclass
public reportError ( RecognitionException ex ) : void
ex RecognitionException
Résultat void

reportError() public méthode

Parser error-reporting function can be overridden in subclass
public reportError ( string s ) : void
s string
Résultat void

reportWarning() public méthode

Parser warning-reporting function can be overridden in subclass
public reportWarning ( string s ) : void
s string
Résultat void

setDebugMode() public méthode

public setDebugMode ( bool mode ) : void
mode bool
Résultat void

setupDebugging() public méthode

public setupDebugging ( TokenBuffer tokenBuf ) : void
tokenBuf TokenBuffer
Résultat void

setupDebugging() public méthode

public setupDebugging ( TokenStream lexer ) : void
lexer TokenStream
Résultat void

setupDebugging() protected méthode

User can override to do their own debugging
protected setupDebugging ( TokenStream lexer, TokenBuffer tokenBuf ) : void
lexer TokenStream
tokenBuf TokenBuffer
Résultat void

wakeUp() public méthode

public wakeUp ( ) : void
Résultat void

Property Details

parserEventSupport protected_oe property

protected ParserEventSupport,Spring.Expressions.Parser.antlr.debug parserEventSupport
Résultat ParserEventSupport

ruleNames protected_oe property

protected string[] ruleNames
Résultat string[]

semPredNames protected_oe property

protected string[] semPredNames
Résultat string[]