All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hotels.styx.server.routing.ConditionVisitor Maven / Gradle / Ivy

There is a newer version: 1.0.0.beta9
Show newest version
// Generated from com/hotels/styx/server/routing/Condition.g4 by ANTLR 4.5.1
package com.hotels.styx.server.routing;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;

/**
 * This interface defines a complete generic visitor for a parse tree produced
 * by {@link ConditionParser}.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public interface ConditionVisitor extends ParseTreeVisitor {
	/**
	 * Visit a parse tree produced by the {@code AndExpression}
	 * labeled alternative in {@link ConditionParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAndExpression(ConditionParser.AndExpressionContext ctx);
	/**
	 * Visit a parse tree produced by the {@code StringCompareExpression}
	 * labeled alternative in {@link ConditionParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStringCompareExpression(ConditionParser.StringCompareExpressionContext ctx);
	/**
	 * Visit a parse tree produced by the {@code NotExpression}
	 * labeled alternative in {@link ConditionParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitNotExpression(ConditionParser.NotExpressionContext ctx);
	/**
	 * Visit a parse tree produced by the {@code OrExpression}
	 * labeled alternative in {@link ConditionParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitOrExpression(ConditionParser.OrExpressionContext ctx);
	/**
	 * Visit a parse tree produced by the {@code SubExpression}
	 * labeled alternative in {@link ConditionParser#expression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSubExpression(ConditionParser.SubExpressionContext ctx);
	/**
	 * Visit a parse tree produced by the {@code StringMatchesRegexp}
	 * labeled alternative in {@link ConditionParser#stringComparison}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStringMatchesRegexp(ConditionParser.StringMatchesRegexpContext ctx);
	/**
	 * Visit a parse tree produced by the {@code StringEqualsString}
	 * labeled alternative in {@link ConditionParser#stringComparison}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStringEqualsString(ConditionParser.StringEqualsStringContext ctx);
	/**
	 * Visit a parse tree produced by the {@code StringIsPresent}
	 * labeled alternative in {@link ConditionParser#stringComparison}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStringIsPresent(ConditionParser.StringIsPresentContext ctx);
	/**
	 * Visit a parse tree produced by {@link ConditionParser#stringExpression}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitStringExpression(ConditionParser.StringExpressionContext ctx);
	/**
	 * Visit a parse tree produced by {@link ConditionParser#function}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitFunction(ConditionParser.FunctionContext ctx);
	/**
	 * Visit a parse tree produced by {@link ConditionParser#arglist}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitArglist(ConditionParser.ArglistContext ctx);
	/**
	 * Visit a parse tree produced by {@link ConditionParser#string}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitString(ConditionParser.StringContext ctx);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy