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

Inheritance: IParserDebugSubject
Afficher le fichier Open project: spring-projects/spring-net

Protected Properties

Свойство Type Description
astFactory ASTFactory
inputState ParserSharedInputState
returnAST Spring.Expressions.Parser.antlr.collections.AST
tokenNames string[]
traceDepth int

Méthodes publiques

Méthode Description
LA ( int i ) : int
LT ( int i ) : IToken
Parser ( ) : System
Parser ( ParserSharedInputState state ) : System
addMessageListener ( Spring.Expressions.Parser.antlr.debug.MessageListener l ) : void
addParserListener ( Spring.Expressions.Parser.antlr.debug.ParserListener l ) : void
addParserMatchListener ( Spring.Expressions.Parser.antlr.debug.ParserMatchListener l ) : void
addParserTokenListener ( Spring.Expressions.Parser.antlr.debug.ParserTokenListener l ) : void
addSemanticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener l ) : void
addSyntacticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener l ) : void
addTraceListener ( Spring.Expressions.Parser.antlr.debug.TraceListener l ) : void
consume ( ) : void
consumeUntil ( Spring.Expressions.Parser.antlr.collections.impl.BitSet bset ) : void
consumeUntil ( int tokenType ) : void
getAST ( ) : Spring.Expressions.Parser.antlr.collections.AST
getASTFactory ( ) : ASTFactory
getFilename ( ) : string
getInputState ( ) : ParserSharedInputState
getTokenName ( int num ) : string
getTokenNames ( ) : string[]
isDebugMode ( ) : bool
mark ( ) : int
match ( Spring.Expressions.Parser.antlr.collections.impl.BitSet b ) : void
match ( int t ) : void
matchNot ( int t ) : void
recover ( Spring.Expressions.Parser.antlr.RecognitionException ex, Spring.Expressions.Parser.antlr.collections.impl.BitSet tokenSet ) : void
removeMessageListener ( Spring.Expressions.Parser.antlr.debug.MessageListener l ) : void
removeParserListener ( Spring.Expressions.Parser.antlr.debug.ParserListener l ) : void
removeParserMatchListener ( Spring.Expressions.Parser.antlr.debug.ParserMatchListener l ) : void
removeParserTokenListener ( Spring.Expressions.Parser.antlr.debug.ParserTokenListener l ) : void
removeSemanticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener l ) : void
removeSyntacticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener l ) : void
removeTraceListener ( Spring.Expressions.Parser.antlr.debug.TraceListener l ) : void
reportError ( Spring.Expressions.Parser.antlr.RecognitionException ex ) : void
reportError ( string s ) : void
reportWarning ( string s ) : void
resetState ( ) : void
rewind ( int pos ) : void
setASTFactory ( ASTFactory f ) : void

Specify an object with support code (shared by Parser and TreeParser. Normally, the programmer does not play with this, using setASTNodeClass instead.

setASTNodeClass ( string cl ) : void

Specify the type of node to create during tree building.

setDebugMode ( bool debugMode ) : void
setFilename ( string f ) : void
setIgnoreInvalidDebugCalls ( bool Value ) : void
setInputState ( ParserSharedInputState state ) : void
setTokenBuffer ( TokenBuffer t ) : void
traceIn ( string rname ) : void
traceIndent ( ) : void
traceOut ( string rname ) : void

Méthodes protégées

Méthode Description
defaultDebuggingSetup ( TokenStream lexer, TokenBuffer tokBuf ) : void

Private Methods

Méthode Description
panic ( ) : void
setASTNodeType ( string nodeType ) : void

Method Details

LA() public abstract méthode

public abstract LA ( int i ) : int
i int
Résultat int

LT() public abstract méthode

public abstract LT ( int i ) : IToken
i int
Résultat IToken

Parser() public méthode

public Parser ( ) : System
Résultat System

Parser() public méthode

public Parser ( ParserSharedInputState state ) : System
state ParserSharedInputState
Résultat System

addMessageListener() public méthode

public addMessageListener ( Spring.Expressions.Parser.antlr.debug.MessageListener l ) : void
l Spring.Expressions.Parser.antlr.debug.MessageListener
Résultat void

addParserListener() public méthode

public addParserListener ( Spring.Expressions.Parser.antlr.debug.ParserListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserListener
Résultat void

addParserMatchListener() public méthode

public addParserMatchListener ( Spring.Expressions.Parser.antlr.debug.ParserMatchListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserMatchListener
Résultat void

addParserTokenListener() public méthode

public addParserTokenListener ( Spring.Expressions.Parser.antlr.debug.ParserTokenListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserTokenListener
Résultat void

addSemanticPredicateListener() public méthode

public addSemanticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener l ) : void
l Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener
Résultat void

addSyntacticPredicateListener() public méthode

public addSyntacticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener l ) : void
l Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener
Résultat void

addTraceListener() public méthode

public addTraceListener ( Spring.Expressions.Parser.antlr.debug.TraceListener l ) : void
l Spring.Expressions.Parser.antlr.debug.TraceListener
Résultat void

consume() public abstract méthode

public abstract consume ( ) : void
Résultat void

consumeUntil() public méthode

public consumeUntil ( Spring.Expressions.Parser.antlr.collections.impl.BitSet bset ) : void
bset Spring.Expressions.Parser.antlr.collections.impl.BitSet
Résultat void

consumeUntil() public méthode

public consumeUntil ( int tokenType ) : void
tokenType int
Résultat void

defaultDebuggingSetup() protected méthode

protected defaultDebuggingSetup ( TokenStream lexer, TokenBuffer tokBuf ) : void
lexer TokenStream
tokBuf TokenBuffer
Résultat void

getAST() public méthode

public getAST ( ) : Spring.Expressions.Parser.antlr.collections.AST
Résultat Spring.Expressions.Parser.antlr.collections.AST

getASTFactory() public méthode

public getASTFactory ( ) : ASTFactory
Résultat ASTFactory

getFilename() public méthode

public getFilename ( ) : string
Résultat string

getInputState() public méthode

public getInputState ( ) : ParserSharedInputState
Résultat ParserSharedInputState

getTokenName() public méthode

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

getTokenNames() public méthode

public getTokenNames ( ) : string[]
Résultat string[]

isDebugMode() public méthode

public isDebugMode ( ) : bool
Résultat bool

mark() public méthode

public mark ( ) : int
Résultat int

match() public méthode

public match ( Spring.Expressions.Parser.antlr.collections.impl.BitSet b ) : void
b Spring.Expressions.Parser.antlr.collections.impl.BitSet
Résultat void

match() public méthode

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

matchNot() public méthode

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

recover() public méthode

public recover ( Spring.Expressions.Parser.antlr.RecognitionException ex, Spring.Expressions.Parser.antlr.collections.impl.BitSet tokenSet ) : void
ex Spring.Expressions.Parser.antlr.RecognitionException
tokenSet Spring.Expressions.Parser.antlr.collections.impl.BitSet
Résultat void

removeMessageListener() public méthode

public removeMessageListener ( Spring.Expressions.Parser.antlr.debug.MessageListener l ) : void
l Spring.Expressions.Parser.antlr.debug.MessageListener
Résultat void

removeParserListener() public méthode

public removeParserListener ( Spring.Expressions.Parser.antlr.debug.ParserListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserListener
Résultat void

removeParserMatchListener() public méthode

public removeParserMatchListener ( Spring.Expressions.Parser.antlr.debug.ParserMatchListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserMatchListener
Résultat void

removeParserTokenListener() public méthode

public removeParserTokenListener ( Spring.Expressions.Parser.antlr.debug.ParserTokenListener l ) : void
l Spring.Expressions.Parser.antlr.debug.ParserTokenListener
Résultat void

removeSemanticPredicateListener() public méthode

public removeSemanticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener l ) : void
l Spring.Expressions.Parser.antlr.debug.SemanticPredicateListener
Résultat void

removeSyntacticPredicateListener() public méthode

public removeSyntacticPredicateListener ( Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener l ) : void
l Spring.Expressions.Parser.antlr.debug.SyntacticPredicateListener
Résultat void

removeTraceListener() public méthode

public removeTraceListener ( Spring.Expressions.Parser.antlr.debug.TraceListener l ) : void
l Spring.Expressions.Parser.antlr.debug.TraceListener
Résultat void

reportError() public méthode

public reportError ( Spring.Expressions.Parser.antlr.RecognitionException ex ) : void
ex Spring.Expressions.Parser.antlr.RecognitionException
Résultat void

reportError() public méthode

public reportError ( string s ) : void
s string
Résultat void

reportWarning() public méthode

public reportWarning ( string s ) : void
s string
Résultat void

resetState() public méthode

public resetState ( ) : void
Résultat void

rewind() public méthode

public rewind ( int pos ) : void
pos int
Résultat void

setASTFactory() public méthode

Specify an object with support code (shared by Parser and TreeParser. Normally, the programmer does not play with this, using setASTNodeClass instead.
public setASTFactory ( ASTFactory f ) : void
f ASTFactory
Résultat void

setASTNodeClass() public méthode

Specify the type of node to create during tree building.
public setASTNodeClass ( string cl ) : void
cl string Fully qualified AST Node type name.
Résultat void

setDebugMode() public méthode

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

setFilename() public méthode

public setFilename ( string f ) : void
f string
Résultat void

setIgnoreInvalidDebugCalls() public méthode

public setIgnoreInvalidDebugCalls ( bool Value ) : void
Value bool
Résultat void

setInputState() public méthode

public setInputState ( ParserSharedInputState state ) : void
state ParserSharedInputState
Résultat void

setTokenBuffer() public méthode

public setTokenBuffer ( TokenBuffer t ) : void
t TokenBuffer
Résultat void

traceIn() public méthode

public traceIn ( string rname ) : void
rname string
Résultat void

traceIndent() public méthode

public traceIndent ( ) : void
Résultat void

traceOut() public méthode

public traceOut ( string rname ) : void
rname string
Résultat void

Property Details

astFactory protected_oe property

protected ASTFactory,Spring.Expressions.Parser.antlr astFactory
Résultat ASTFactory

inputState protected_oe property

protected ParserSharedInputState,Spring.Expressions.Parser.antlr inputState
Résultat ParserSharedInputState

returnAST protected_oe property

protected Spring.Expressions.Parser.antlr.collections.AST returnAST
Résultat Spring.Expressions.Parser.antlr.collections.AST

tokenNames protected_oe property

protected string[] tokenNames
Résultat string[]

traceDepth protected_oe property

protected int traceDepth
Résultat int