| java.lang.Object antlr.debug.ParserEventSupport
ParserEventSupport | public class ParserEventSupport (Code) | | 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...
|
Method Summary | |
public void | addDoneListener(ListenerBase l) | public void | addMessageListener(MessageListener l) | public void | addNewLineListener(NewLineListener l) | public void | addParserListener(ParserListener l) | public void | addParserMatchListener(ParserMatchListener l) | public void | addParserTokenListener(ParserTokenListener l) | public void | addSemanticPredicateListener(SemanticPredicateListener l) | public void | addSyntacticPredicateListener(SyntacticPredicateListener l) | public void | addTraceListener(TraceListener l) | public void | fireConsume(int value) | public void | fireDoneParsing() | public void | fireEnterRule(int ruleNum, int guessing, int data) | public void | fireEvent(int type, ListenerBase l) | public void | fireEvents(int type, Vector listeners) | public void | fireExitRule(int ruleNum, int guessing, int data) | public void | fireLA(int k, int la) | public void | fireMatch(char c, int guessing) | public void | fireMatch(char value, BitSet b, int guessing) | public void | fireMatch(char value, String target, int guessing) | public void | fireMatch(int value, BitSet b, String text, int guessing) | public void | fireMatch(int n, String text, int guessing) | public void | fireMatch(String s, int guessing) | public void | fireMatchNot(char value, char n, int guessing) | public void | fireMatchNot(int value, int n, String text, int guessing) | public void | fireMismatch(char value, char n, int guessing) | public void | fireMismatch(char value, BitSet b, int guessing) | public void | fireMismatch(char value, String target, int guessing) | public void | fireMismatch(int value, int n, String text, int guessing) | public void | fireMismatch(int value, BitSet b, String text, int guessing) | public void | fireMismatch(String value, String text, int guessing) | public void | fireMismatchNot(char value, char c, int guessing) | public void | fireMismatchNot(int value, int n, String text, int guessing) | public void | fireNewLine(int line) | public void | fireReportError(Exception e) | public void | fireReportError(String s) | public void | fireReportWarning(String s) | public boolean | fireSemanticPredicateEvaluated(int type, int condition, boolean result, int guessing) | public void | fireSyntacticPredicateFailed(int guessing) | public void | fireSyntacticPredicateStarted(int guessing) | public void | fireSyntacticPredicateSucceeded(int guessing) | protected void | refresh(Vector listeners) | public void | refreshListeners() | public void | removeDoneListener(ListenerBase l) | public void | removeMessageListener(MessageListener l) | public void | removeNewLineListener(NewLineListener l) | public void | removeParserListener(ParserListener l) | public void | removeParserMatchListener(ParserMatchListener l) | public void | removeParserTokenListener(ParserTokenListener l) | public void | removeSemanticPredicateListener(SemanticPredicateListener l) | public void | removeSyntacticPredicateListener(SyntacticPredicateListener l) | public void | removeTraceListener(TraceListener l) |
CONSUME | final protected static int CONSUME(Code) | | |
DONE_PARSING | final protected static int DONE_PARSING(Code) | | |
ENTER_RULE | final protected static int ENTER_RULE(Code) | | |
EXIT_RULE | final protected static int EXIT_RULE(Code) | | |
LA | final protected static int LA(Code) | | |
MATCH | final protected static int MATCH(Code) | | |
MATCH_NOT | final protected static int MATCH_NOT(Code) | | |
MISMATCH | final protected static int MISMATCH(Code) | | |
MISMATCH_NOT | final protected static int MISMATCH_NOT(Code) | | |
NEW_LINE | final protected static int NEW_LINE(Code) | | |
REPORT_ERROR | final protected static int REPORT_ERROR(Code) | | |
REPORT_WARNING | final protected static int REPORT_WARNING(Code) | | |
SEMPRED | final protected static int SEMPRED(Code) | | |
SYNPRED_FAILED | final protected static int SYNPRED_FAILED(Code) | | |
SYNPRED_STARTED | final protected static int SYNPRED_STARTED(Code) | | |
SYNPRED_SUCCEEDED | final protected static int SYNPRED_SUCCEEDED(Code) | | |
ParserEventSupport | public ParserEventSupport(Object source)(Code) | | |
fireConsume | public void fireConsume(int value)(Code) | | |
fireDoneParsing | public void fireDoneParsing()(Code) | | |
fireEnterRule | public void fireEnterRule(int ruleNum, int guessing, int data)(Code) | | |
fireEvents | public void fireEvents(int type, Vector listeners)(Code) | | |
fireExitRule | public void fireExitRule(int ruleNum, int guessing, int data)(Code) | | |
fireLA | public void fireLA(int k, int la)(Code) | | |
fireMatch | public void fireMatch(char c, int guessing)(Code) | | |
fireMatch | public void fireMatch(char value, BitSet b, int guessing)(Code) | | |
fireMatch | public void fireMatch(char value, String target, int guessing)(Code) | | |
fireMatch | public void fireMatch(int n, String text, int guessing)(Code) | | |
fireMatch | public void fireMatch(String s, int guessing)(Code) | | |
fireMatchNot | public void fireMatchNot(char value, char n, int guessing)(Code) | | |
fireMatchNot | public void fireMatchNot(int value, int n, String text, int guessing)(Code) | | |
fireMismatch | public void fireMismatch(char value, char n, int guessing)(Code) | | |
fireMismatch | public void fireMismatch(char value, BitSet b, int guessing)(Code) | | |
fireMismatch | public void fireMismatch(char value, String target, int guessing)(Code) | | |
fireMismatch | public void fireMismatch(int value, int n, String text, int guessing)(Code) | | |
fireMismatch | public void fireMismatch(int value, BitSet b, String text, int guessing)(Code) | | |
fireMismatchNot | public void fireMismatchNot(char value, char c, int guessing)(Code) | | |
fireMismatchNot | public void fireMismatchNot(int value, int n, String text, int guessing)(Code) | | |
fireNewLine | public void fireNewLine(int line)(Code) | | |
fireReportWarning | public void fireReportWarning(String s)(Code) | | |
fireSemanticPredicateEvaluated | public boolean fireSemanticPredicateEvaluated(int type, int condition, boolean result, int guessing)(Code) | | |
fireSyntacticPredicateFailed | public void fireSyntacticPredicateFailed(int guessing)(Code) | | |
fireSyntacticPredicateStarted | public void fireSyntacticPredicateStarted(int guessing)(Code) | | |
fireSyntacticPredicateSucceeded | public void fireSyntacticPredicateSucceeded(int guessing)(Code) | | |
refreshListeners | public void refreshListeners()(Code) | | |
|
|