org.antlr.v4.runtime.tree.ParseTreeListener, RegexListenerpublic class RegexBaseListener extends java.lang.Object implements RegexListener
RegexListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.| Constructor | Description |
|---|---|
RegexBaseListener() |
public void enterLiteral(RegexParser.LiteralContext ctx)
RegexParser.literal().
The default implementation does nothing.
enterLiteral in interface RegexListenerctx - the parse treepublic void exitLiteral(RegexParser.LiteralContext ctx)
RegexParser.literal().
The default implementation does nothing.
exitLiteral in interface RegexListenerctx - the parse treepublic void enterPattern(RegexParser.PatternContext ctx)
RegexParser.pattern().
The default implementation does nothing.
enterPattern in interface RegexListenerctx - the parse treepublic void exitPattern(RegexParser.PatternContext ctx)
RegexParser.pattern().
The default implementation does nothing.
exitPattern in interface RegexListenerctx - the parse treepublic void enterExpression(RegexParser.ExpressionContext ctx)
RegexParser.expression().
The default implementation does nothing.
enterExpression in interface RegexListenerctx - the parse treepublic void exitExpression(RegexParser.ExpressionContext ctx)
RegexParser.expression().
The default implementation does nothing.
exitExpression in interface RegexListenerctx - the parse treepublic void enterSequence(RegexParser.SequenceContext ctx)
RegexParser.sequence().
The default implementation does nothing.
enterSequence in interface RegexListenerctx - the parse treepublic void exitSequence(RegexParser.SequenceContext ctx)
RegexParser.sequence().
The default implementation does nothing.
exitSequence in interface RegexListenerctx - the parse treepublic void enterGroup(RegexParser.GroupContext ctx)
RegexParser.group().
The default implementation does nothing.
enterGroup in interface RegexListenerctx - the parse treepublic void exitGroup(RegexParser.GroupContext ctx)
RegexParser.group().
The default implementation does nothing.
exitGroup in interface RegexListenerctx - the parse treepublic void enterGroup0(RegexParser.Group0Context ctx)
RegexParser.group0().
The default implementation does nothing.
enterGroup0 in interface RegexListenerctx - the parse treepublic void exitGroup0(RegexParser.Group0Context ctx)
RegexParser.group0().
The default implementation does nothing.
exitGroup0 in interface RegexListenerctx - the parse treepublic void enterGroupN(RegexParser.GroupNContext ctx)
RegexParser.groupN().
The default implementation does nothing.
enterGroupN in interface RegexListenerctx - the parse treepublic void exitGroupN(RegexParser.GroupNContext ctx)
RegexParser.groupN().
The default implementation does nothing.
exitGroupN in interface RegexListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2014 Kaazing, Inc. All Rights Reserved.