C# 클래스 Spring.Expressions.Parser.antlr.debug.LLkDebuggingParser

상속: LLkParser, DebuggingParser
파일 보기 프로젝트 열기: spring-projects/spring-net

보호된 프로퍼티들

프로퍼티 타입 설명
parserEventSupport 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

메소드 상세

LA() 공개 메소드

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
리턴 int

LLkDebuggingParser() 공개 메소드

public LLkDebuggingParser ( ParserSharedInputState state, int k_ ) : System.Threading
state ParserSharedInputState
k_ int
리턴 System.Threading

LLkDebuggingParser() 공개 메소드

public LLkDebuggingParser ( TokenBuffer tokenBuf, int k_ ) : System.Threading
tokenBuf TokenBuffer
k_ int
리턴 System.Threading

LLkDebuggingParser() 공개 메소드

public LLkDebuggingParser ( TokenStream lexer, int k_ ) : System.Threading
lexer TokenStream
k_ int
리턴 System.Threading

LLkDebuggingParser() 공개 메소드

public LLkDebuggingParser ( int k_ ) : System.Threading
k_ int
리턴 System.Threading

addMessageListener() 공개 메소드

public addMessageListener ( MessageListener l ) : void
l MessageListener
리턴 void

addParserListener() 공개 메소드

public addParserListener ( ParserListener l ) : void
l ParserListener
리턴 void

addParserMatchListener() 공개 메소드

public addParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
리턴 void

addParserTokenListener() 공개 메소드

public addParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
리턴 void

addSemanticPredicateListener() 공개 메소드

public addSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
리턴 void

addSyntacticPredicateListener() 공개 메소드

public addSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
리턴 void

addTraceListener() 공개 메소드

public addTraceListener ( TraceListener l ) : void
l TraceListener
리턴 void

consume() 공개 메소드

Get another token object from the token stream
public consume ( ) : void
리턴 void

fireEnterRule() 보호된 메소드

protected fireEnterRule ( int num, int data ) : void
num int
data int
리턴 void

fireExitRule() 보호된 메소드

protected fireExitRule ( int num, int data ) : void
num int
data int
리턴 void

fireSemanticPredicateEvaluated() 보호된 메소드

protected fireSemanticPredicateEvaluated ( int type, int num, bool condition ) : bool
type int
num int
condition bool
리턴 bool

fireSyntacticPredicateFailed() 보호된 메소드

protected fireSyntacticPredicateFailed ( ) : void
리턴 void

fireSyntacticPredicateStarted() 보호된 메소드

protected fireSyntacticPredicateStarted ( ) : void
리턴 void

fireSyntacticPredicateSucceeded() 보호된 메소드

protected fireSyntacticPredicateSucceeded ( ) : void
리턴 void

getRuleName() 공개 메소드

public getRuleName ( int num ) : string
num int
리턴 string

getSemPredName() 공개 메소드

public getSemPredName ( int num ) : string
num int
리턴 string

goToSleep() 공개 메소드

public goToSleep ( ) : void
리턴 void

isDebugMode() 공개 메소드

public isDebugMode ( ) : bool
리턴 bool

isGuessing() 공개 메소드

public isGuessing ( ) : bool
리턴 bool

match() 공개 메소드

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
리턴 void

match() 공개 메소드

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
리턴 void

matchNot() 공개 메소드

public matchNot ( int t ) : void
t int
리턴 void

removeMessageListener() 공개 메소드

public removeMessageListener ( MessageListener l ) : void
l MessageListener
리턴 void

removeParserListener() 공개 메소드

public removeParserListener ( ParserListener l ) : void
l ParserListener
리턴 void

removeParserMatchListener() 공개 메소드

public removeParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
리턴 void

removeParserTokenListener() 공개 메소드

public removeParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
리턴 void

removeSemanticPredicateListener() 공개 메소드

public removeSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
리턴 void

removeSyntacticPredicateListener() 공개 메소드

public removeSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
리턴 void

removeTraceListener() 공개 메소드

public removeTraceListener ( TraceListener l ) : void
l TraceListener
리턴 void

reportError() 공개 메소드

Parser error-reporting function can be overridden in subclass
public reportError ( RecognitionException ex ) : void
ex RecognitionException
리턴 void

reportError() 공개 메소드

Parser error-reporting function can be overridden in subclass
public reportError ( string s ) : void
s string
리턴 void

reportWarning() 공개 메소드

Parser warning-reporting function can be overridden in subclass
public reportWarning ( string s ) : void
s string
리턴 void

setDebugMode() 공개 메소드

public setDebugMode ( bool mode ) : void
mode bool
리턴 void

setupDebugging() 공개 메소드

public setupDebugging ( TokenBuffer tokenBuf ) : void
tokenBuf TokenBuffer
리턴 void

setupDebugging() 공개 메소드

public setupDebugging ( TokenStream lexer ) : void
lexer TokenStream
리턴 void

setupDebugging() 보호된 메소드

User can override to do their own debugging
protected setupDebugging ( TokenStream lexer, TokenBuffer tokenBuf ) : void
lexer TokenStream
tokenBuf TokenBuffer
리턴 void

wakeUp() 공개 메소드

public wakeUp ( ) : void
리턴 void

프로퍼티 상세

parserEventSupport 보호되어 있는 프로퍼티

protected ParserEventSupport,Spring.Expressions.Parser.antlr.debug parserEventSupport
리턴 ParserEventSupport

ruleNames 보호되어 있는 프로퍼티

protected string[] ruleNames
리턴 string[]

semPredNames 보호되어 있는 프로퍼티

protected string[] semPredNames
리턴 string[]