T - The return type of the visit operation. Use Void for
operations with no return type.org.antlr.v4.runtime.tree.ParseTreeVisitor<T>, RegexVisitor<T>public class RegexBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements RegexVisitor<T>
RegexVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor | Description |
|---|---|
RegexBaseVisitor() |
| Modifier and Type | Method | Description |
|---|---|---|
T |
visitExpression(RegexParser.ExpressionContext ctx) |
Visit a parse tree produced by
RegexParser.expression(). |
T |
visitGroup(RegexParser.GroupContext ctx) |
Visit a parse tree produced by
RegexParser.group(). |
T |
visitGroup0(RegexParser.Group0Context ctx) |
Visit a parse tree produced by
RegexParser.group0(). |
T |
visitGroupN(RegexParser.GroupNContext ctx) |
Visit a parse tree produced by
RegexParser.groupN(). |
T |
visitLiteral(RegexParser.LiteralContext ctx) |
Visit a parse tree produced by
RegexParser.literal(). |
T |
visitPattern(RegexParser.PatternContext ctx) |
Visit a parse tree produced by
RegexParser.pattern(). |
T |
visitSequence(RegexParser.SequenceContext ctx) |
Visit a parse tree produced by
RegexParser.sequence(). |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitLiteral(RegexParser.LiteralContext ctx)
RegexParser.literal().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitLiteral in interface RegexVisitor<T>ctx - the parse treepublic T visitPattern(RegexParser.PatternContext ctx)
RegexParser.pattern().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPattern in interface RegexVisitor<T>ctx - the parse treepublic T visitExpression(RegexParser.ExpressionContext ctx)
RegexParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpression in interface RegexVisitor<T>ctx - the parse treepublic T visitSequence(RegexParser.SequenceContext ctx)
RegexParser.sequence().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSequence in interface RegexVisitor<T>ctx - the parse treepublic T visitGroup(RegexParser.GroupContext ctx)
RegexParser.group().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGroup in interface RegexVisitor<T>ctx - the parse treepublic T visitGroup0(RegexParser.Group0Context ctx)
RegexParser.group0().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGroup0 in interface RegexVisitor<T>ctx - the parse treepublic T visitGroupN(RegexParser.GroupNContext ctx)
RegexParser.groupN().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitGroupN in interface RegexVisitor<T>ctx - the parse treeCopyright © 2014 Kaazing, Inc. All Rights Reserved.