
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 the {@code matchBase}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchBase(GraqlParser.MatchBaseContext ctx);
/**
* Visit a parse tree produced by the {@code matchSelect}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchSelect(GraqlParser.MatchSelectContext ctx);
/**
* Visit a parse tree produced by the {@code matchOffset}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchOffset(GraqlParser.MatchOffsetContext ctx);
/**
* Visit a parse tree produced by the {@code matchOrderBy}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchOrderBy(GraqlParser.MatchOrderByContext ctx);
/**
* Visit a parse tree produced by the {@code matchLimit}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchLimit(GraqlParser.MatchLimitContext ctx);
/**
* Visit a parse tree produced by the {@code matchDistinct}
* labeled alternative in {@link GraqlParser#matchQuery}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMatchDistinct(GraqlParser.MatchDistinctContext 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 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 varPatternCase}
* labeled alternative in {@link GraqlParser#pattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVarPatternCase(GraqlParser.VarPatternCaseContext 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#varPatterns}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVarPatterns(GraqlParser.VarPatternsContext ctx);
/**
* Visit a parse tree produced by {@link GraqlParser#varPattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitVarPattern(GraqlParser.VarPatternContext ctx);
/**
* Visit a parse tree produced by the {@code isa}
* labeled alternative in {@link GraqlParser#property}.
* @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#property}.
* @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#property}.
* @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#property}.
* @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#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitHasScope(GraqlParser.HasScopeContext ctx);
/**
* Visit a parse tree produced by the {@code propId}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropId(GraqlParser.PropIdContext ctx);
/**
* Visit a parse tree produced by the {@code propValue}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropValue(GraqlParser.PropValueContext ctx);
/**
* Visit a parse tree produced by the {@code propLhs}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropLhs(GraqlParser.PropLhsContext ctx);
/**
* Visit a parse tree produced by the {@code propRhs}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropRhs(GraqlParser.PropRhsContext ctx);
/**
* Visit a parse tree produced by the {@code propHas}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropHas(GraqlParser.PropHasContext ctx);
/**
* Visit a parse tree produced by the {@code propResource}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropResource(GraqlParser.PropResourceContext ctx);
/**
* Visit a parse tree produced by the {@code propRel}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropRel(GraqlParser.PropRelContext ctx);
/**
* Visit a parse tree produced by the {@code isAbstract}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIsAbstract(GraqlParser.IsAbstractContext ctx);
/**
* Visit a parse tree produced by the {@code propDatatype}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropDatatype(GraqlParser.PropDatatypeContext ctx);
/**
* Visit a parse tree produced by the {@code propRegex}
* labeled alternative in {@link GraqlParser#property}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPropRegex(GraqlParser.PropRegexContext ctx);
/**
* Visit a parse tree produced by {@link GraqlParser#casting}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCasting(GraqlParser.CastingContext 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#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