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

A class to assist in firing parser events NOTE: I intentionally _did_not_ synchronize the event firing and add/remove listener methods. This is because the add/remove should _only_ be called by the parser at its start/end, and the _same_thread_ should be performing the parsing. This should help performance a tad...
Mostra file Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
ParserEventSupport ( object source ) : antlr.collections.impl
addDoneListener ( Listener l ) : void
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
checkController ( ) : void
fireConsume ( int c ) : void
fireDoneParsing ( ) : void
fireEnterRule ( int ruleNum, int guessing, int data ) : void
fireExitRule ( int ruleNum, int guessing, int data ) : void
fireLA ( int k, int la ) : void
fireMatch ( char c, antlr.collections.impl.BitSet b, int guessing ) : void
fireMatch ( char c, int guessing ) : void
fireMatch ( char c, string target, int guessing ) : void
fireMatch ( int c, antlr.collections.impl.BitSet b, string text, int guessing ) : void
fireMatch ( int n, string text, int guessing ) : void
fireMatch ( string s, int guessing ) : void
fireMatchNot ( char c, char n, int guessing ) : void
fireMatchNot ( int c, int n, string text, int guessing ) : void
fireMismatch ( char c, BitSet b, int guessing ) : void
fireMismatch ( char c, char n, int guessing ) : void
fireMismatch ( char c, string target, int guessing ) : void
fireMismatch ( int i, BitSet b, string text, int guessing ) : void
fireMismatch ( int i, int n, string text, int guessing ) : void
fireMismatch ( string s, string text, int guessing ) : void
fireMismatchNot ( char v, char c, int guessing ) : void
fireMismatchNot ( int i, int n, string text, int guessing ) : void
fireReportError ( System e ) : void
fireReportError ( string s ) : void
fireReportWarning ( string s ) : void
fireSemanticPredicateEvaluated ( int type, int condition, bool result, int guessing ) : bool
fireSyntacticPredicateFailed ( int guessing ) : void
fireSyntacticPredicateStarted ( int guessing ) : void
fireSyntacticPredicateSucceeded ( int guessing ) : void
refreshListeners ( ) : void
removeDoneListener ( Listener l ) : 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

Method Details

ParserEventSupport() public method

public ParserEventSupport ( object source ) : antlr.collections.impl
source object
return antlr.collections.impl

addDoneListener() public method

public addDoneListener ( Listener l ) : void
l Listener
return void

addMessageListener() public method

public addMessageListener ( MessageListener l ) : void
l MessageListener
return void

addParserListener() public method

public addParserListener ( ParserListener l ) : void
l ParserListener
return void

addParserMatchListener() public method

public addParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
return void

addParserTokenListener() public method

public addParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
return void

addSemanticPredicateListener() public method

public addSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
return void

addSyntacticPredicateListener() public method

public addSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
return void

addTraceListener() public method

public addTraceListener ( TraceListener l ) : void
l TraceListener
return void

checkController() public method

public checkController ( ) : void
return void

fireConsume() public method

public fireConsume ( int c ) : void
c int
return void

fireDoneParsing() public method

public fireDoneParsing ( ) : void
return void

fireEnterRule() public method

public fireEnterRule ( int ruleNum, int guessing, int data ) : void
ruleNum int
guessing int
data int
return void

fireExitRule() public method

public fireExitRule ( int ruleNum, int guessing, int data ) : void
ruleNum int
guessing int
data int
return void

fireLA() public method

public fireLA ( int k, int la ) : void
k int
la int
return void

fireMatch() public method

public fireMatch ( char c, antlr.collections.impl.BitSet b, int guessing ) : void
c char
b antlr.collections.impl.BitSet
guessing int
return void

fireMatch() public method

public fireMatch ( char c, int guessing ) : void
c char
guessing int
return void

fireMatch() public method

public fireMatch ( char c, string target, int guessing ) : void
c char
target string
guessing int
return void

fireMatch() public method

public fireMatch ( int c, antlr.collections.impl.BitSet b, string text, int guessing ) : void
c int
b antlr.collections.impl.BitSet
text string
guessing int
return void

fireMatch() public method

public fireMatch ( int n, string text, int guessing ) : void
n int
text string
guessing int
return void

fireMatch() public method

public fireMatch ( string s, int guessing ) : void
s string
guessing int
return void

fireMatchNot() public method

public fireMatchNot ( char c, char n, int guessing ) : void
c char
n char
guessing int
return void

fireMatchNot() public method

public fireMatchNot ( int c, int n, string text, int guessing ) : void
c int
n int
text string
guessing int
return void

fireMismatch() public method

public fireMismatch ( char c, BitSet b, int guessing ) : void
c char
b BitSet
guessing int
return void

fireMismatch() public method

public fireMismatch ( char c, char n, int guessing ) : void
c char
n char
guessing int
return void

fireMismatch() public method

public fireMismatch ( char c, string target, int guessing ) : void
c char
target string
guessing int
return void

fireMismatch() public method

public fireMismatch ( int i, BitSet b, string text, int guessing ) : void
i int
b BitSet
text string
guessing int
return void

fireMismatch() public method

public fireMismatch ( int i, int n, string text, int guessing ) : void
i int
n int
text string
guessing int
return void

fireMismatch() public method

public fireMismatch ( string s, string text, int guessing ) : void
s string
text string
guessing int
return void

fireMismatchNot() public method

public fireMismatchNot ( char v, char c, int guessing ) : void
v char
c char
guessing int
return void

fireMismatchNot() public method

public fireMismatchNot ( int i, int n, string text, int guessing ) : void
i int
n int
text string
guessing int
return void

fireReportError() public method

public fireReportError ( System e ) : void
e System
return void

fireReportError() public method

public fireReportError ( string s ) : void
s string
return void

fireReportWarning() public method

public fireReportWarning ( string s ) : void
s string
return void

fireSemanticPredicateEvaluated() public method

public fireSemanticPredicateEvaluated ( int type, int condition, bool result, int guessing ) : bool
type int
condition int
result bool
guessing int
return bool

fireSyntacticPredicateFailed() public method

public fireSyntacticPredicateFailed ( int guessing ) : void
guessing int
return void

fireSyntacticPredicateStarted() public method

public fireSyntacticPredicateStarted ( int guessing ) : void
guessing int
return void

fireSyntacticPredicateSucceeded() public method

public fireSyntacticPredicateSucceeded ( int guessing ) : void
guessing int
return void

refreshListeners() public method

public refreshListeners ( ) : void
return void

removeDoneListener() public method

public removeDoneListener ( Listener l ) : void
l Listener
return void

removeMessageListener() public method

public removeMessageListener ( MessageListener l ) : void
l MessageListener
return void

removeParserListener() public method

public removeParserListener ( ParserListener l ) : void
l ParserListener
return void

removeParserMatchListener() public method

public removeParserMatchListener ( ParserMatchListener l ) : void
l ParserMatchListener
return void

removeParserTokenListener() public method

public removeParserTokenListener ( ParserTokenListener l ) : void
l ParserTokenListener
return void

removeSemanticPredicateListener() public method

public removeSemanticPredicateListener ( SemanticPredicateListener l ) : void
l SemanticPredicateListener
return void

removeSyntacticPredicateListener() public method

public removeSyntacticPredicateListener ( SyntacticPredicateListener l ) : void
l SyntacticPredicateListener
return void

removeTraceListener() public method

public removeTraceListener ( TraceListener l ) : void
l TraceListener
return void