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

io.mindmaps.graql.internal.parser.GraqlVisitor Maven / Gradle / Ivy

// Generated from io/mindmaps/graql/internal/parser/Graql.g4 by ANTLR 4.5
package io.mindmaps.graql.internal.parser;
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 GraqlParser}.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public interface GraqlVisitor extends ParseTreeVisitor {
	/**
	 * Visit a parse tree produced by {@link GraqlParser#queryEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitQueryEOF(GraqlParser.QueryEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#query}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitQuery(GraqlParser.QueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#matchEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitMatchEOF(GraqlParser.MatchEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#askEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAskEOF(GraqlParser.AskEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insertEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsertEOF(GraqlParser.InsertEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#deleteEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeleteEOF(GraqlParser.DeleteEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#aggregateEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAggregateEOF(GraqlParser.AggregateEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#computeEOF}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitComputeEOF(GraqlParser.ComputeEOFContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#matchQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitMatchQuery(GraqlParser.MatchQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#askQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAskQuery(GraqlParser.AskQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insertQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsertQuery(GraqlParser.InsertQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#deleteQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeleteQuery(GraqlParser.DeleteQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#aggregateQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAggregateQuery(GraqlParser.AggregateQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#computeQuery}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitComputeQuery(GraqlParser.ComputeQueryContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#subgraph}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSubgraph(GraqlParser.SubgraphContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#selectors}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelectors(GraqlParser.SelectorsContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#selector}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelector(GraqlParser.SelectorContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterIsa}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterIsa(GraqlParser.GetterIsaContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterId}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterId(GraqlParser.GetterIdContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterValue}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterValue(GraqlParser.GetterValueContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterHas}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterHas(GraqlParser.GetterHasContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterLhs}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterLhs(GraqlParser.GetterLhsContext ctx);
	/**
	 * Visit a parse tree produced by the {@code getterRhs}
	 * labeled alternative in {@link GraqlParser#getter}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitGetterRhs(GraqlParser.GetterRhsContext ctx);
	/**
	 * Visit a parse tree produced by the {@code customAgg}
	 * labeled alternative in {@link GraqlParser#aggregate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitCustomAgg(GraqlParser.CustomAggContext ctx);
	/**
	 * Visit a parse tree produced by the {@code selectAgg}
	 * labeled alternative in {@link GraqlParser#aggregate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitSelectAgg(GraqlParser.SelectAggContext ctx);
	/**
	 * Visit a parse tree produced by the {@code variableArgument}
	 * labeled alternative in {@link GraqlParser#argument}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitVariableArgument(GraqlParser.VariableArgumentContext ctx);
	/**
	 * Visit a parse tree produced by the {@code aggregateArgument}
	 * labeled alternative in {@link GraqlParser#argument}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAggregateArgument(GraqlParser.AggregateArgumentContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#namedAgg}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitNamedAgg(GraqlParser.NamedAggContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#patterns}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPatterns(GraqlParser.PatternsContext ctx);
	/**
	 * Visit a parse tree produced by the {@code varPattern}
	 * labeled alternative in {@link GraqlParser#pattern}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitVarPattern(GraqlParser.VarPatternContext ctx);
	/**
	 * Visit a parse tree produced by the {@code andPattern}
	 * labeled alternative in {@link GraqlParser#pattern}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAndPattern(GraqlParser.AndPatternContext ctx);
	/**
	 * Visit a parse tree produced by the {@code orPattern}
	 * labeled alternative in {@link GraqlParser#pattern}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitOrPattern(GraqlParser.OrPatternContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#property}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitProperty(GraqlParser.PropertyContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insertPatterns}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsertPatterns(GraqlParser.InsertPatternsContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insertPattern}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsertPattern(GraqlParser.InsertPatternContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insert}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsert(GraqlParser.InsertContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#deletePatterns}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeletePatterns(GraqlParser.DeletePatternsContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#deletePattern}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDeletePattern(GraqlParser.DeletePatternContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#delete}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitDelete(GraqlParser.DeleteContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propId}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropId(GraqlParser.PropIdContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propValFlag}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropValFlag(GraqlParser.PropValFlagContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propVal}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropVal(GraqlParser.PropValContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propValPred}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropValPred(GraqlParser.PropValPredContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propLhs}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropLhs(GraqlParser.PropLhsContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propRhs}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropRhs(GraqlParser.PropRhsContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propHasFlag}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropHasFlag(GraqlParser.PropHasFlagContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propHas}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropHas(GraqlParser.PropHasContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propHasPred}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropHasPred(GraqlParser.PropHasPredContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propResource}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropResource(GraqlParser.PropResourceContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propDatatype}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropDatatype(GraqlParser.PropDatatypeContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#propRel}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPropRel(GraqlParser.PropRelContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#insertRel}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitInsertRel(GraqlParser.InsertRelContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#roleOpt}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRoleOpt(GraqlParser.RoleOptContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#roleplayerRole}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRoleplayerRole(GraqlParser.RoleplayerRoleContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#roleplayerOnly}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitRoleplayerOnly(GraqlParser.RoleplayerOnlyContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#isAbstract}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitIsAbstract(GraqlParser.IsAbstractContext ctx);
	/**
	 * Visit a parse tree produced by the {@code isa}
	 * labeled alternative in {@link GraqlParser#edge}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitIsa(GraqlParser.IsaContext ctx);
	/**
	 * Visit a parse tree produced by the {@code ako}
	 * labeled alternative in {@link GraqlParser#edge}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitAko(GraqlParser.AkoContext ctx);
	/**
	 * Visit a parse tree produced by the {@code hasRole}
	 * labeled alternative in {@link GraqlParser#edge}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitHasRole(GraqlParser.HasRoleContext ctx);
	/**
	 * Visit a parse tree produced by the {@code playsRole}
	 * labeled alternative in {@link GraqlParser#edge}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPlaysRole(GraqlParser.PlaysRoleContext ctx);
	/**
	 * Visit a parse tree produced by the {@code hasScope}
	 * labeled alternative in {@link GraqlParser#edge}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitHasScope(GraqlParser.HasScopeContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#variable}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitVariable(GraqlParser.VariableContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateEq}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateEq(GraqlParser.PredicateEqContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateAnd}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateAnd(GraqlParser.PredicateAndContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateGte}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateGte(GraqlParser.PredicateGteContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateNeq}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateNeq(GraqlParser.PredicateNeqContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateRegex}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateRegex(GraqlParser.PredicateRegexContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateContains}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateContains(GraqlParser.PredicateContainsContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateGt}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateGt(GraqlParser.PredicateGtContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateLte}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateLte(GraqlParser.PredicateLteContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateParens}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateParens(GraqlParser.PredicateParensContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateOr}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateOr(GraqlParser.PredicateOrContext ctx);
	/**
	 * Visit a parse tree produced by the {@code predicateLt}
	 * labeled alternative in {@link GraqlParser#predicate}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPredicateLt(GraqlParser.PredicateLtContext ctx);
	/**
	 * Visit a parse tree produced by the {@code valueString}
	 * labeled alternative in {@link GraqlParser#value}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitValueString(GraqlParser.ValueStringContext ctx);
	/**
	 * Visit a parse tree produced by the {@code valueInteger}
	 * labeled alternative in {@link GraqlParser#value}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitValueInteger(GraqlParser.ValueIntegerContext ctx);
	/**
	 * Visit a parse tree produced by the {@code valueReal}
	 * labeled alternative in {@link GraqlParser#value}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitValueReal(GraqlParser.ValueRealContext ctx);
	/**
	 * Visit a parse tree produced by the {@code valueBoolean}
	 * labeled alternative in {@link GraqlParser#value}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitValueBoolean(GraqlParser.ValueBooleanContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#modifiers}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifiers(GraqlParser.ModifiersContext ctx);
	/**
	 * Visit a parse tree produced by the {@code modifierSelect}
	 * labeled alternative in {@link GraqlParser#modifier}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifierSelect(GraqlParser.ModifierSelectContext ctx);
	/**
	 * Visit a parse tree produced by the {@code modifierLimit}
	 * labeled alternative in {@link GraqlParser#modifier}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifierLimit(GraqlParser.ModifierLimitContext ctx);
	/**
	 * Visit a parse tree produced by the {@code modifierOffset}
	 * labeled alternative in {@link GraqlParser#modifier}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifierOffset(GraqlParser.ModifierOffsetContext ctx);
	/**
	 * Visit a parse tree produced by the {@code modifierDistinct}
	 * labeled alternative in {@link GraqlParser#modifier}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifierDistinct(GraqlParser.ModifierDistinctContext ctx);
	/**
	 * Visit a parse tree produced by the {@code modifierOrderBy}
	 * labeled alternative in {@link GraqlParser#modifier}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitModifierOrderBy(GraqlParser.ModifierOrderByContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#patternSep}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitPatternSep(GraqlParser.PatternSepContext ctx);
	/**
	 * Visit a parse tree produced by {@link GraqlParser#id}.
	 * @param ctx the parse tree
	 * @return the visitor result
	 */
	T visitId(GraqlParser.IdContext ctx);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy