Class RegexBaseListener
- All Implemented Interfaces:
RegexListener,org.antlr.v4.runtime.tree.ParseTreeListener
RegexListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byRegexParser.atom().voidEnter a parse tree produced byRegexParser.charClass().voidEnter a parse tree produced byRegexParser.charRange().voidEnter a parse tree produced byRegexParser.classAtom().voidEnter a parse tree produced byRegexParser.element().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byRegexParser.expr().voidEnter a parse tree produced byRegexParser.group().voidEnter a parse tree produced byRegexParser.quantifier().voidEnter a parse tree produced byRegexParser.regex().voidExit a parse tree produced byRegexParser.atom().voidExit a parse tree produced byRegexParser.charClass().voidExit a parse tree produced byRegexParser.charRange().voidExit a parse tree produced byRegexParser.classAtom().voidExit a parse tree produced byRegexParser.element().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byRegexParser.expr().voidExit a parse tree produced byRegexParser.group().voidExit a parse tree produced byRegexParser.quantifier().voidExit a parse tree produced byRegexParser.regex().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
RegexBaseListener
public RegexBaseListener()
-
-
Method Details
-
enterRegex
Enter a parse tree produced byRegexParser.regex().The default implementation does nothing.
- Specified by:
enterRegexin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitRegex
Exit a parse tree produced byRegexParser.regex().The default implementation does nothing.
- Specified by:
exitRegexin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterExpr
Enter a parse tree produced byRegexParser.expr().The default implementation does nothing.
- Specified by:
enterExprin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitExpr
Exit a parse tree produced byRegexParser.expr().The default implementation does nothing.
- Specified by:
exitExprin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterElement
Enter a parse tree produced byRegexParser.element().The default implementation does nothing.
- Specified by:
enterElementin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitElement
Exit a parse tree produced byRegexParser.element().The default implementation does nothing.
- Specified by:
exitElementin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterGroup
Enter a parse tree produced byRegexParser.group().The default implementation does nothing.
- Specified by:
enterGroupin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitGroup
Exit a parse tree produced byRegexParser.group().The default implementation does nothing.
- Specified by:
exitGroupin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterQuantifier
Enter a parse tree produced byRegexParser.quantifier().The default implementation does nothing.
- Specified by:
enterQuantifierin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitQuantifier
Exit a parse tree produced byRegexParser.quantifier().The default implementation does nothing.
- Specified by:
exitQuantifierin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterAtom
Enter a parse tree produced byRegexParser.atom().The default implementation does nothing.
- Specified by:
enterAtomin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitAtom
Exit a parse tree produced byRegexParser.atom().The default implementation does nothing.
- Specified by:
exitAtomin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterCharClass
Enter a parse tree produced byRegexParser.charClass().The default implementation does nothing.
- Specified by:
enterCharClassin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitCharClass
Exit a parse tree produced byRegexParser.charClass().The default implementation does nothing.
- Specified by:
exitCharClassin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterCharRange
Enter a parse tree produced byRegexParser.charRange().The default implementation does nothing.
- Specified by:
enterCharRangein interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitCharRange
Exit a parse tree produced byRegexParser.charRange().The default implementation does nothing.
- Specified by:
exitCharRangein interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterClassAtom
Enter a parse tree produced byRegexParser.classAtom().The default implementation does nothing.
- Specified by:
enterClassAtomin interfaceRegexListener- Parameters:
ctx- the parse tree
-
exitClassAtom
Exit a parse tree produced byRegexParser.classAtom().The default implementation does nothing.
- Specified by:
exitClassAtomin interfaceRegexListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-