Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
antlr.CharScanner
antlr.debug.DebuggingCharScanner
Field Summary | |
protected String[] | |
protected String[] |
Fields inherited from class antlr.CharScanner | |
EOF_CHAR , NO_CHAR , _returnToken , caseSensitive , caseSensitiveLiterals , commitToPath , hashString , inputState , literals , saveConsumedInput , tabsize , text , tokenObjectClass , traceDepth |
Constructor Summary | |
Method Summary | |
char |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
protected void |
|
protected void |
|
protected boolean |
|
protected void | |
protected void | |
protected void | |
String |
|
String |
|
void | |
boolean | |
protected Token |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
Methods inherited from class antlr.CharScanner | |
LA , append , append , commit , consume , consumeUntil , consumeUntil , getCaseSensitive , getCaseSensitiveLiterals , getColumn , getCommitToPath , getFilename , getInputBuffer , getInputState , getLine , getTabSize , getText , getTokenObject , makeToken , mark , match , match , match , matchNot , matchRange , newline , panic , panic , reportError , reportError , reportWarning , resetText , rewind , setCaseSensitive , setColumn , setCommitToPath , setFilename , setInputState , setLine , setTabSize , setText , setTokenObjectClass , tab , testLiteralsTable , testLiteralsTable , toLower , traceIn , traceIndent , traceOut , uponEOF |
public void addSyntacticPredicateListener(SyntacticPredicateListener l)
protected void fireEnterRule(int num, int data)
protected void fireExitRule(int num, int ttype)
protected boolean fireSemanticPredicateEvaluated(int type, int num, boolean condition)
protected void fireSyntacticPredicateFailed()
protected void fireSyntacticPredicateStarted()
protected void fireSyntacticPredicateSucceeded()
public String getSemPredName(int num)
- Specified by:
- getSemPredName in interface DebuggingParser
public void goToSleep()
public boolean isDebugMode()
public void match(String s) throws MismatchedCharException, CharStreamException
- Overrides:
- match in interface CharScanner
public void match(BitSet b) throws MismatchedCharException, CharStreamException
- Overrides:
- match in interface CharScanner
public void match(char c) throws MismatchedCharException, CharStreamException
- Overrides:
- match in interface CharScanner
public void matchNot(char c) throws MismatchedCharException, CharStreamException
- Overrides:
- matchNot in interface CharScanner
public void matchRange(char c1, char c2) throws MismatchedCharException, CharStreamException
- Overrides:
- matchRange in interface CharScanner
public void removeSemanticPredicateListener(SemanticPredicateListener l)
public void removeSyntacticPredicateListener(SyntacticPredicateListener l)
public void reportError(String s)
Parser error-reporting function can be overridden in subclass
- Overrides:
- reportError in interface CharScanner
public void reportError(MismatchedCharException e)
Report exception errors caught in nextToken()
public void reportWarning(String s)
Parser warning-reporting function can be overridden in subclass
- Overrides:
- reportWarning in interface CharScanner
public void setDebugMode(boolean value)
public void setupDebugging()
public void wakeUp()