// Generated from java-escape by ANTLR 4.11.1 package main.parsers; import org.antlr.v4.runtime.tree.ParseTreeVisitor; /** * This interface defines a complete generic visitor for a parse tree produced * by {@link XGrammarParser}. * * @param The return type of the visit operation. Use {@link Void} for * operations with no return type. */ public interface XGrammarVisitor extends ParseTreeVisitor { /** * Visit a parse tree produced by {@link XGrammarParser#prog}. * @param ctx the parse tree * @return the visitor result */ T visitProg(XGrammarParser.ProgContext ctx); /** * Visit a parse tree produced by the {@code ap_Slash} * labeled alternative in {@link XGrammarParser#ap}. * @param ctx the parse tree * @return the visitor result */ T visitAp_Slash(XGrammarParser.Ap_SlashContext ctx); /** * Visit a parse tree produced by the {@code ap_Dslash} * labeled alternative in {@link XGrammarParser#ap}. * @param ctx the parse tree * @return the visitor result */ T visitAp_Dslash(XGrammarParser.Ap_DslashContext ctx); /** * Visit a parse tree produced by the {@code rp_DSlash} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_DSlash(XGrammarParser.Rp_DSlashContext ctx); /** * Visit a parse tree produced by the {@code rp_Wild} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Wild(XGrammarParser.Rp_WildContext ctx); /** * Visit a parse tree produced by the {@code rp_Per} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Per(XGrammarParser.Rp_PerContext ctx); /** * Visit a parse tree produced by the {@code rp_Filter} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Filter(XGrammarParser.Rp_FilterContext ctx); /** * Visit a parse tree produced by the {@code rp_Concat} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Concat(XGrammarParser.Rp_ConcatContext ctx); /** * Visit a parse tree produced by the {@code rp_Tag} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Tag(XGrammarParser.Rp_TagContext ctx); /** * Visit a parse tree produced by the {@code rp_Text} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Text(XGrammarParser.Rp_TextContext ctx); /** * Visit a parse tree produced by the {@code rp_Dper} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Dper(XGrammarParser.Rp_DperContext ctx); /** * Visit a parse tree produced by the {@code rp_Slash} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Slash(XGrammarParser.Rp_SlashContext ctx); /** * Visit a parse tree produced by the {@code rp_Attr} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Attr(XGrammarParser.Rp_AttrContext ctx); /** * Visit a parse tree produced by the {@code rp_Par} * labeled alternative in {@link XGrammarParser#rp}. * @param ctx the parse tree * @return the visitor result */ T visitRp_Par(XGrammarParser.Rp_ParContext ctx); /** * Visit a parse tree produced by the {@code f_Par} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Par(XGrammarParser.F_ParContext ctx); /** * Visit a parse tree produced by the {@code f_Not} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Not(XGrammarParser.F_NotContext ctx); /** * Visit a parse tree produced by the {@code f_Or} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Or(XGrammarParser.F_OrContext ctx); /** * Visit a parse tree produced by the {@code f_Const} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Const(XGrammarParser.F_ConstContext ctx); /** * Visit a parse tree produced by the {@code f_And} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_And(XGrammarParser.F_AndContext ctx); /** * Visit a parse tree produced by the {@code f_Rp} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Rp(XGrammarParser.F_RpContext ctx); /** * Visit a parse tree produced by the {@code f_Eq} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Eq(XGrammarParser.F_EqContext ctx); /** * Visit a parse tree produced by the {@code f_Is} * labeled alternative in {@link XGrammarParser#f}. * @param ctx the parse tree * @return the visitor result */ T visitF_Is(XGrammarParser.F_IsContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#doc}. * @param ctx the parse tree * @return the visitor result */ T visitDoc(XGrammarParser.DocContext ctx); /** * Visit a parse tree produced by the {@code xq_Const} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Const(XGrammarParser.Xq_ConstContext ctx); /** * Visit a parse tree produced by the {@code xp_Par} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXp_Par(XGrammarParser.Xp_ParContext ctx); /** * Visit a parse tree produced by the {@code xq_Dslash} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Dslash(XGrammarParser.Xq_DslashContext ctx); /** * Visit a parse tree produced by the {@code xq_Concat} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Concat(XGrammarParser.Xq_ConcatContext ctx); /** * Visit a parse tree produced by the {@code xq_Ap} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Ap(XGrammarParser.Xq_ApContext ctx); /** * Visit a parse tree produced by the {@code xq_Slash} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Slash(XGrammarParser.Xq_SlashContext ctx); /** * Visit a parse tree produced by the {@code xq_Var} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Var(XGrammarParser.Xq_VarContext ctx); /** * Visit a parse tree produced by the {@code xq_FLWR} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_FLWR(XGrammarParser.Xq_FLWRContext ctx); /** * Visit a parse tree produced by the {@code xq_Join} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Join(XGrammarParser.Xq_JoinContext ctx); /** * Visit a parse tree produced by the {@code xq_Tag} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Tag(XGrammarParser.Xq_TagContext ctx); /** * Visit a parse tree produced by the {@code xq_Tag2} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Tag2(XGrammarParser.Xq_Tag2Context ctx); /** * Visit a parse tree produced by the {@code xq_Let} * labeled alternative in {@link XGrammarParser#xq}. * @param ctx the parse tree * @return the visitor result */ T visitXq_Let(XGrammarParser.Xq_LetContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#forClause}. * @param ctx the parse tree * @return the visitor result */ T visitForClause(XGrammarParser.ForClauseContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#letClause}. * @param ctx the parse tree * @return the visitor result */ T visitLetClause(XGrammarParser.LetClauseContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#whereClause}. * @param ctx the parse tree * @return the visitor result */ T visitWhereClause(XGrammarParser.WhereClauseContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#returnClause}. * @param ctx the parse tree * @return the visitor result */ T visitReturnClause(XGrammarParser.ReturnClauseContext ctx); /** * Visit a parse tree produced by the {@code join_concat} * labeled alternative in {@link XGrammarParser#returnClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_concat(XGrammarParser.Join_concatContext ctx); /** * Visit a parse tree produced by the {@code join_tag_no_constr} * labeled alternative in {@link XGrammarParser#returnClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_tag_no_constr(XGrammarParser.Join_tag_no_constrContext ctx); /** * Visit a parse tree produced by the {@code join_tag_constr} * labeled alternative in {@link XGrammarParser#returnClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_tag_constr(XGrammarParser.Join_tag_constrContext ctx); /** * Visit a parse tree produced by the {@code join_ap} * labeled alternative in {@link XGrammarParser#returnClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_ap(XGrammarParser.Join_apContext ctx); /** * Visit a parse tree produced by the {@code join_return} * labeled alternative in {@link XGrammarParser#returnClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_return(XGrammarParser.Join_returnContext ctx); /** * Visit a parse tree produced by the {@code join_cond_var_eq} * labeled alternative in {@link XGrammarParser#condClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_cond_var_eq(XGrammarParser.Join_cond_var_eqContext ctx); /** * Visit a parse tree produced by the {@code join_cond_var_const_eq} * labeled alternative in {@link XGrammarParser#condClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_cond_var_const_eq(XGrammarParser.Join_cond_var_const_eqContext ctx); /** * Visit a parse tree produced by the {@code join_cond_const_eq} * labeled alternative in {@link XGrammarParser#condClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_cond_const_eq(XGrammarParser.Join_cond_const_eqContext ctx); /** * Visit a parse tree produced by the {@code join_cond_and} * labeled alternative in {@link XGrammarParser#condClauseJoin}. * @param ctx the parse tree * @return the visitor result */ T visitJoin_cond_and(XGrammarParser.Join_cond_andContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#attrList}. * @param ctx the parse tree * @return the visitor result */ T visitAttrList(XGrammarParser.AttrListContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#xqJoin}. * @param ctx the parse tree * @return the visitor result */ T visitXqJoin(XGrammarParser.XqJoinContext ctx); /** * Visit a parse tree produced by {@link XGrammarParser#join}. * @param ctx the parse tree * @return the visitor result */ T visitJoin(XGrammarParser.JoinContext ctx); /** * Visit a parse tree produced by the {@code cond_And} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_And(XGrammarParser.Cond_AndContext ctx); /** * Visit a parse tree produced by the {@code cond_Eq} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Eq(XGrammarParser.Cond_EqContext ctx); /** * Visit a parse tree produced by the {@code cond_Is} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Is(XGrammarParser.Cond_IsContext ctx); /** * Visit a parse tree produced by the {@code cond_Some} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Some(XGrammarParser.Cond_SomeContext ctx); /** * Visit a parse tree produced by the {@code cond_Not} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Not(XGrammarParser.Cond_NotContext ctx); /** * Visit a parse tree produced by the {@code cond_Par} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Par(XGrammarParser.Cond_ParContext ctx); /** * Visit a parse tree produced by the {@code cond_Empty} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Empty(XGrammarParser.Cond_EmptyContext ctx); /** * Visit a parse tree produced by the {@code cond_Or} * labeled alternative in {@link XGrammarParser#cond}. * @param ctx the parse tree * @return the visitor result */ T visitCond_Or(XGrammarParser.Cond_OrContext ctx); }