org.kaazing.robot.lang.regex.RegexVisitor Maven / Gradle / Ivy
The newest version!
// Generated from org/kaazing/robot/lang/regex/Regex.g4 by ANTLR 4.2.2
package org.kaazing.robot.lang.regex;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link RegexParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface RegexVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link RegexParser#expression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExpression(@NotNull RegexParser.ExpressionContext ctx);
/**
* Visit a parse tree produced by {@link RegexParser#groupN}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGroupN(@NotNull RegexParser.GroupNContext ctx);
/**
* Visit a parse tree produced by {@link RegexParser#pattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPattern(@NotNull RegexParser.PatternContext ctx);
/**
* Visit a parse tree produced by {@link RegexParser#sequence}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSequence(@NotNull RegexParser.SequenceContext ctx);
/**
* Visit a parse tree produced by {@link RegexParser#group}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGroup(@NotNull RegexParser.GroupContext ctx);
/**
* Visit a parse tree produced by {@link RegexParser#group0}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGroup0(@NotNull RegexParser.Group0Context ctx);
/**
* Visit a parse tree produced by {@link RegexParser#literal}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLiteral(@NotNull RegexParser.LiteralContext ctx);
}