net.hasor.dataql.parser.DataQLParserVisitor Maven / Gradle / Ivy
The newest version!
// Generated from net/hasor/dataql/parser/DataQLParser.g4 by ANTLR 4.9.1
package net.hasor.dataql.parser;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link DataQLParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface DataQLParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link DataQLParser#rootInstSet}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRootInstSet(DataQLParser.RootInstSetContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#hintInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitHintInst(DataQLParser.HintInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#importInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitImportInst(DataQLParser.ImportInstContext ctx);
/**
* Visit a parse tree produced by the {@code multipleInst}
* labeled alternative in {@link DataQLParser#blockSet}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMultipleInst(DataQLParser.MultipleInstContext ctx);
/**
* Visit a parse tree produced by the {@code singleInst}
* labeled alternative in {@link DataQLParser#blockSet}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleInst(DataQLParser.SingleInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#ifInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIfInst(DataQLParser.IfInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#breakInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBreakInst(DataQLParser.BreakInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#lambdaDef}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLambdaDef(DataQLParser.LambdaDefContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#varInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVarInst(DataQLParser.VarInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#runInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRunInst(DataQLParser.RunInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#assertInst}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAssertInst(DataQLParser.AssertInstContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#anyObject}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAnyObject(DataQLParser.AnyObjectContext ctx);
/**
* Visit a parse tree produced by the {@code paramRoute}
* labeled alternative in {@link DataQLParser#routeMapping}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParamRoute(DataQLParser.ParamRouteContext ctx);
/**
* Visit a parse tree produced by the {@code subExprRoute}
* labeled alternative in {@link DataQLParser#routeMapping}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSubExprRoute(DataQLParser.SubExprRouteContext ctx);
/**
* Visit a parse tree produced by the {@code nameExprRoute}
* labeled alternative in {@link DataQLParser#routeMapping}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNameExprRoute(DataQLParser.NameExprRouteContext ctx);
/**
* Visit a parse tree produced by the {@code exprRoute}
* labeled alternative in {@link DataQLParser#routeMapping}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExprRoute(DataQLParser.ExprRouteContext ctx);
/**
* Visit a parse tree produced by the {@code exprFmtRoute}
* labeled alternative in {@link DataQLParser#routeConver}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExprFmtRoute(DataQLParser.ExprFmtRouteContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#routeNameSet}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRouteNameSet(DataQLParser.RouteNameSetContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#routeName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRouteName(DataQLParser.RouteNameContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#routeSubscript}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRouteSubscript(DataQLParser.RouteSubscriptContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#funcCall}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFuncCall(DataQLParser.FuncCallContext ctx);
/**
* Visit a parse tree produced by the {@code funcCallResult_route1}
* labeled alternative in {@link DataQLParser#funcCallResult}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFuncCallResult_route1(DataQLParser.FuncCallResult_route1Context ctx);
/**
* Visit a parse tree produced by the {@code funcCallResult_route2}
* labeled alternative in {@link DataQLParser#funcCallResult}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFuncCallResult_route2(DataQLParser.FuncCallResult_route2Context ctx);
/**
* Visit a parse tree produced by the {@code funcCallResult_convert}
* labeled alternative in {@link DataQLParser#funcCallResult}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFuncCallResult_convert(DataQLParser.FuncCallResult_convertContext ctx);
/**
* Visit a parse tree produced by the {@code funcCallResult_call}
* labeled alternative in {@link DataQLParser#funcCallResult}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFuncCallResult_call(DataQLParser.FuncCallResult_callContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#objectValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitObjectValue(DataQLParser.ObjectValueContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#objectKeyValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitObjectKeyValue(DataQLParser.ObjectKeyValueContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#listValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitListValue(DataQLParser.ListValueContext ctx);
/**
* Visit a parse tree produced by the {@code stringValue}
* labeled alternative in {@link DataQLParser#primitiveValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringValue(DataQLParser.StringValueContext ctx);
/**
* Visit a parse tree produced by the {@code nullValue}
* labeled alternative in {@link DataQLParser#primitiveValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullValue(DataQLParser.NullValueContext ctx);
/**
* Visit a parse tree produced by the {@code booleanValue}
* labeled alternative in {@link DataQLParser#primitiveValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanValue(DataQLParser.BooleanValueContext ctx);
/**
* Visit a parse tree produced by the {@code numberValue}
* labeled alternative in {@link DataQLParser#primitiveValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumberValue(DataQLParser.NumberValueContext ctx);
/**
* Visit a parse tree produced by the {@code dyadicExpr_D}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDyadicExpr_D(DataQLParser.DyadicExpr_DContext ctx);
/**
* Visit a parse tree produced by the {@code unaryExpr}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitUnaryExpr(DataQLParser.UnaryExprContext ctx);
/**
* Visit a parse tree produced by the {@code dyadicExpr_E}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDyadicExpr_E(DataQLParser.DyadicExpr_EContext ctx);
/**
* Visit a parse tree produced by the {@code dyadicExpr_B}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDyadicExpr_B(DataQLParser.DyadicExpr_BContext ctx);
/**
* Visit a parse tree produced by the {@code ternaryExpr}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTernaryExpr(DataQLParser.TernaryExprContext ctx);
/**
* Visit a parse tree produced by the {@code dyadicExpr_C}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDyadicExpr_C(DataQLParser.DyadicExpr_CContext ctx);
/**
* Visit a parse tree produced by the {@code dyadicExpr_A}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDyadicExpr_A(DataQLParser.DyadicExpr_AContext ctx);
/**
* Visit a parse tree produced by the {@code atomExpr}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitAtomExpr(DataQLParser.AtomExprContext ctx);
/**
* Visit a parse tree produced by the {@code privilegeExpr}
* labeled alternative in {@link DataQLParser#expr}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPrivilegeExpr(DataQLParser.PrivilegeExprContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#extBlock}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExtBlock(DataQLParser.ExtBlockContext ctx);
/**
* Visit a parse tree produced by {@link DataQLParser#extParams}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExtParams(DataQLParser.ExtParamsContext ctx);
}