Public Member Functions | Protected Member Functions | Protected Attributes

antlr.debug.DebuggingCharScanner Class Reference

Inheritance diagram for antlr.debug.DebuggingCharScanner:
antlr.CharScanner antlr.debug.DebuggingParser antlr.TokenStream

List of all members.

Public Member Functions

 DebuggingCharScanner (InputBuffer cb)
 DebuggingCharScanner (LexerSharedInputState state)
void addMessageListener (MessageListener l)
void addNewLineListener (NewLineListener 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 () throws CharStreamException
String getRuleName (int num)
String getSemPredName (int num)
synchronized void goToSleep ()
boolean isDebugMode ()
char LA (int i) throws CharStreamException
void match (char c) throws MismatchedCharException, CharStreamException
void match (BitSet b) throws MismatchedCharException, CharStreamException
void match (String s) throws MismatchedCharException, CharStreamException
void matchNot (char c) throws MismatchedCharException, CharStreamException
void matchRange (char c1, char c2) throws MismatchedCharException, CharStreamException
void newline ()
void removeMessageListener (MessageListener l)
void removeNewLineListener (NewLineListener 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 (MismatchedCharException e)
void reportError (String s)
void reportWarning (String s)
void setDebugMode (boolean value)
void setupDebugging ()
synchronized void wakeUp ()

Protected Member Functions

void fireEnterRule (int num, int data)
void fireExitRule (int num, int ttype)
boolean fireSemanticPredicateEvaluated (int type, int num, boolean condition)
void fireSyntacticPredicateFailed ()
void fireSyntacticPredicateStarted ()
void fireSyntacticPredicateSucceeded ()
Token makeToken (int t)

Protected Attributes

String ruleNames []
String semPredNames []

Constructor & Destructor Documentation

antlr.debug.DebuggingCharScanner.DebuggingCharScanner ( InputBuffer  cb  ) 
antlr.debug.DebuggingCharScanner.DebuggingCharScanner ( LexerSharedInputState  state  ) 

Member Function Documentation

void antlr.debug.DebuggingCharScanner.addMessageListener ( MessageListener  l  ) 
void antlr.debug.DebuggingCharScanner.addNewLineListener ( NewLineListener  l  ) 
void antlr.debug.DebuggingCharScanner.addParserListener ( ParserListener  l  ) 
void antlr.debug.DebuggingCharScanner.addParserMatchListener ( ParserMatchListener  l  ) 
void antlr.debug.DebuggingCharScanner.addParserTokenListener ( ParserTokenListener  l  ) 
void antlr.debug.DebuggingCharScanner.addSemanticPredicateListener ( SemanticPredicateListener  l  ) 
void antlr.debug.DebuggingCharScanner.addSyntacticPredicateListener ( SyntacticPredicateListener  l  ) 
void antlr.debug.DebuggingCharScanner.addTraceListener ( TraceListener  l  ) 
void antlr.debug.DebuggingCharScanner.consume (  )  throws CharStreamException
void antlr.debug.DebuggingCharScanner.fireEnterRule ( int  num,
int  data 
) [protected]
void antlr.debug.DebuggingCharScanner.fireExitRule ( int  num,
int  ttype 
) [protected]
boolean antlr.debug.DebuggingCharScanner.fireSemanticPredicateEvaluated ( int  type,
int  num,
boolean  condition 
) [protected]
String antlr.debug.DebuggingCharScanner.getRuleName ( int  num  ) 
String antlr.debug.DebuggingCharScanner.getSemPredName ( int  num  ) 
synchronized void antlr.debug.DebuggingCharScanner.goToSleep (  ) 
Token antlr.debug.DebuggingCharScanner.makeToken ( int  t  )  [protected]
void antlr.debug.DebuggingCharScanner.newline (  ) 
void antlr.debug.DebuggingCharScanner.removeMessageListener ( MessageListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeNewLineListener ( NewLineListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeParserListener ( ParserListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeParserMatchListener ( ParserMatchListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeParserTokenListener ( ParserTokenListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeSemanticPredicateListener ( SemanticPredicateListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeSyntacticPredicateListener ( SyntacticPredicateListener  l  ) 
void antlr.debug.DebuggingCharScanner.removeTraceListener ( TraceListener  l  ) 
void antlr.debug.DebuggingCharScanner.reportError ( String  s  ) 

Parser error-reporting function can be overridden in subclass

References antlr.debug.ParserEventSupport.fireReportError().

void antlr.debug.DebuggingCharScanner.reportError ( MismatchedCharException  e  ) 

Report exception errors caught in nextToken()

References antlr.debug.ParserEventSupport.fireReportError().

void antlr.debug.DebuggingCharScanner.reportWarning ( String  s  ) 

Parser warning-reporting function can be overridden in subclass

References antlr.debug.ParserEventSupport.fireReportWarning().

void antlr.debug.DebuggingCharScanner.setDebugMode ( boolean  value  ) 
void antlr.debug.DebuggingCharScanner.setupDebugging (  ) 
synchronized void antlr.debug.DebuggingCharScanner.wakeUp (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties