Package mocka.generator.regex
Interface RegexVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
RegexBaseVisitor,RegexStringVisitor
public interface RegexVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
RegexParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byRegexParser.atom().Visit a parse tree produced byRegexParser.charClass().Visit a parse tree produced byRegexParser.charRange().Visit a parse tree produced byRegexParser.classAtom().Visit a parse tree produced byRegexParser.element().Visit a parse tree produced byRegexParser.expr().Visit a parse tree produced byRegexParser.group().Visit a parse tree produced byRegexParser.quantifier().Visit a parse tree produced byRegexParser.regex().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitRegex
Visit a parse tree produced byRegexParser.regex().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExpr
Visit a parse tree produced byRegexParser.expr().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElement
Visit a parse tree produced byRegexParser.element().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGroup
Visit a parse tree produced byRegexParser.group().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuantifier
Visit a parse tree produced byRegexParser.quantifier().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAtom
Visit a parse tree produced byRegexParser.atom().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCharClass
Visit a parse tree produced byRegexParser.charClass().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCharRange
Visit a parse tree produced byRegexParser.charRange().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitClassAtom
Visit a parse tree produced byRegexParser.classAtom().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-