Class ArgumentVisitor
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.tinkerpop.gremlin.language.grammar.DefaultGremlinBaseVisitor<Object>
-
- org.apache.tinkerpop.gremlin.language.grammar.ArgumentVisitor
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>
,GremlinVisitor<Object>
public class ArgumentVisitor extends DefaultGremlinBaseVisitor<Object>
-
-
Constructor Summary
Constructors Constructor Description ArgumentVisitor(VariableResolver resolver, GremlinAntlrToJava antlr)
-
Method Summary
-
Methods inherited from class org.apache.tinkerpop.gremlin.language.grammar.DefaultGremlinBaseVisitor
notImplemented, visitBooleanLiteral, visitChainedParentOfGraphTraversal, visitChainedTraversal, visitConnectedComponentConstants, visitConnectedComponentConstants_component, visitConnectedComponentConstants_edges, visitConnectedComponentConstants_propertyName, visitConnectedComponentStringConstant, visitDateLiteral, visitEmptyQuery, visitFloatLiteral, visitGenericLiteral, visitGenericLiteralCollection, visitGenericLiteralExpr, visitGenericLiteralList, visitGenericLiteralMap, visitGenericLiteralRange, visitGenericLiteralVarargs, visitInfLiteral, visitIntegerLiteral, visitIoOptionsConstants_graphml, visitIoOptionsConstants_graphson, visitIoOptionsConstants_gryo, visitIoOptionsConstants_reader, visitIoOptionsConstants_writer, visitIoOptionsKeys, visitIoOptionsStringConstant, visitIoOptionsValues, visitMapEntry, visitNanLiteral, visitNestedTraversal, visitNestedTraversalExpr, visitNestedTraversalList, visitNullLiteral, visitNumericLiteral, visitPageRankConstants, visitPageRankConstants_edges, visitPageRankConstants_propertyName, visitPageRankConstants_times, visitPageRankStringConstant, visitPeerPressureConstants, visitPeerPressureConstants_edges, visitPeerPressureConstants_propertyName, visitPeerPressureConstants_times, visitPeerPressureStringConstant, visitQuery, visitQueryList, visitRootTraversal, visitShortestPathConstants, visitShortestPathConstants_distance, visitShortestPathConstants_edges, visitShortestPathConstants_includeEdges, visitShortestPathConstants_maxDistance, visitShortestPathConstants_target, visitShortestPathStringConstant, visitStringLiteral, visitStringLiteralExpr, visitStringLiteralList, visitStringLiteralVarargs, visitStringNullableLiteral, visitStructureVertex, visitTerminatedTraversal, visitTransactionPart, visitTraversalBiFunction, visitTraversalCardinality, visitTraversalColumn, visitTraversalComparator, visitTraversalDirection, visitTraversalDT, visitTraversalFunction, visitTraversalMerge, visitTraversalMethod, visitTraversalMethod_addE_String, visitTraversalMethod_addE_Traversal, visitTraversalMethod_addV_Empty, visitTraversalMethod_addV_String, visitTraversalMethod_addV_Traversal, visitTraversalMethod_aggregate_Scope_String, visitTraversalMethod_aggregate_String, visitTraversalMethod_all_P, visitTraversalMethod_and, visitTraversalMethod_any_P, visitTraversalMethod_as, visitTraversalMethod_asDate, visitTraversalMethod_asString_Empty, visitTraversalMethod_barrier_Consumer, visitTraversalMethod_barrier_Empty, visitTraversalMethod_barrier_int, visitTraversalMethod_both, visitTraversalMethod_bothE, visitTraversalMethod_bothV, visitTraversalMethod_branch, visitTraversalMethod_by_Comparator, visitTraversalMethod_by_Empty, visitTraversalMethod_by_Function, visitTraversalMethod_by_Function_Comparator, visitTraversalMethod_by_Order, visitTraversalMethod_by_String, visitTraversalMethod_by_String_Comparator, visitTraversalMethod_by_T, visitTraversalMethod_by_Traversal, visitTraversalMethod_by_Traversal_Comparator, visitTraversalMethod_call_string, visitTraversalMethod_call_string_map, visitTraversalMethod_call_string_map_traversal, visitTraversalMethod_call_string_traversal, visitTraversalMethod_cap, visitTraversalMethod_choose_Function, visitTraversalMethod_choose_Predicate_Traversal, visitTraversalMethod_choose_Predicate_Traversal_Traversal, visitTraversalMethod_choose_Traversal, visitTraversalMethod_choose_Traversal_Traversal, visitTraversalMethod_choose_Traversal_Traversal_Traversal, visitTraversalMethod_coalesce, visitTraversalMethod_coin, visitTraversalMethod_combine_Object, visitTraversalMethod_concat_String, visitTraversalMethod_concat_Traversal_Traversal, visitTraversalMethod_conjoin_String, visitTraversalMethod_connectedComponent, visitTraversalMethod_constant, visitTraversalMethod_count_Empty, visitTraversalMethod_count_Scope, visitTraversalMethod_cyclicPath, visitTraversalMethod_dateAdd, visitTraversalMethod_dateDiff_Date, visitTraversalMethod_dateDiff_Traversal, visitTraversalMethod_dedup_Scope_String, visitTraversalMethod_dedup_String, visitTraversalMethod_difference_Object, visitTraversalMethod_disjunct_Object, visitTraversalMethod_drop, visitTraversalMethod_E, visitTraversalMethod_element, visitTraversalMethod_elementMap, visitTraversalMethod_emit_Empty, visitTraversalMethod_emit_Predicate, visitTraversalMethod_emit_Traversal, visitTraversalMethod_fail_Empty, visitTraversalMethod_fail_String, visitTraversalMethod_filter_Predicate, visitTraversalMethod_filter_Traversal, visitTraversalMethod_flatMap, visitTraversalMethod_fold_Empty, visitTraversalMethod_fold_Object_BiFunction, visitTraversalMethod_from_String, visitTraversalMethod_from_Traversal, visitTraversalMethod_from_Vertex, visitTraversalMethod_group_Empty, visitTraversalMethod_group_String, visitTraversalMethod_groupCount_Empty, visitTraversalMethod_groupCount_String, visitTraversalMethod_has_String, visitTraversalMethod_has_String_Object, visitTraversalMethod_has_String_P, visitTraversalMethod_has_String_String_Object, visitTraversalMethod_has_String_String_P, visitTraversalMethod_has_String_Traversal, visitTraversalMethod_has_T_Object, visitTraversalMethod_has_T_P, visitTraversalMethod_has_T_Traversal, visitTraversalMethod_hasId_Object_Object, visitTraversalMethod_hasId_P, visitTraversalMethod_hasKey_P, visitTraversalMethod_hasKey_String_String, visitTraversalMethod_hasLabel_P, visitTraversalMethod_hasLabel_String_String, visitTraversalMethod_hasNot, visitTraversalMethod_hasValue_Object_Object, visitTraversalMethod_hasValue_P, visitTraversalMethod_id, visitTraversalMethod_identity, visitTraversalMethod_in, visitTraversalMethod_index, visitTraversalMethod_inE, visitTraversalMethod_inject, visitTraversalMethod_intersect_Object, visitTraversalMethod_inV, visitTraversalMethod_is_Object, visitTraversalMethod_is_P, visitTraversalMethod_key, visitTraversalMethod_label, visitTraversalMethod_length_Empty, visitTraversalMethod_limit_long, visitTraversalMethod_limit_Scope_long, visitTraversalMethod_local, visitTraversalMethod_loops_Empty, visitTraversalMethod_loops_String, visitTraversalMethod_lTrim_Empty, visitTraversalMethod_map, visitTraversalMethod_match, visitTraversalMethod_math, visitTraversalMethod_max_Empty, visitTraversalMethod_max_Scope, visitTraversalMethod_mean_Empty, visitTraversalMethod_mean_Scope, visitTraversalMethod_merge_Object, visitTraversalMethod_mergeE_empty, visitTraversalMethod_mergeE_Map, visitTraversalMethod_mergeE_Traversal, visitTraversalMethod_mergeV_empty, visitTraversalMethod_mergeV_Map, visitTraversalMethod_mergeV_Traversal, visitTraversalMethod_min_Empty, visitTraversalMethod_min_Scope, visitTraversalMethod_not, visitTraversalMethod_option_Merge_Map, visitTraversalMethod_option_Merge_Map_Cardinality, visitTraversalMethod_option_Merge_Traversal, visitTraversalMethod_option_Object_Traversal, visitTraversalMethod_option_Predicate_Traversal, visitTraversalMethod_option_Traversal, visitTraversalMethod_optional, visitTraversalMethod_or, visitTraversalMethod_order_Empty, visitTraversalMethod_order_Scope, visitTraversalMethod_otherV, visitTraversalMethod_out, visitTraversalMethod_outE, visitTraversalMethod_outV, visitTraversalMethod_pageRank_double, visitTraversalMethod_pageRank_Empty, visitTraversalMethod_path, visitTraversalMethod_peerPressure, visitTraversalMethod_product_Object, visitTraversalMethod_profile_Empty, visitTraversalMethod_profile_String, visitTraversalMethod_project, visitTraversalMethod_properties, visitTraversalMethod_property_Cardinality_Object, visitTraversalMethod_property_Cardinality_Object_Object_Object, visitTraversalMethod_property_Object, visitTraversalMethod_property_Object_Object_Object, visitTraversalMethod_propertyMap, visitTraversalMethod_range_long_long, visitTraversalMethod_range_Scope_long_long, visitTraversalMethod_read, visitTraversalMethod_repeat_String_Traversal, visitTraversalMethod_repeat_Traversal, visitTraversalMethod_replace_String_String, visitTraversalMethod_reverse_Empty, visitTraversalMethod_rTrim_Empty, visitTraversalMethod_sack_BiFunction, visitTraversalMethod_sack_Empty, visitTraversalMethod_sample_int, visitTraversalMethod_sample_Scope_int, visitTraversalMethod_select_Column, visitTraversalMethod_select_Pop_String, visitTraversalMethod_select_Pop_String_String_String, visitTraversalMethod_select_Pop_Traversal, visitTraversalMethod_select_String, visitTraversalMethod_select_String_String_String, visitTraversalMethod_select_Traversal, visitTraversalMethod_shortestPath, visitTraversalMethod_sideEffect, visitTraversalMethod_simplePath, visitTraversalMethod_skip_long, visitTraversalMethod_skip_Scope_long, visitTraversalMethod_split_String, visitTraversalMethod_store, visitTraversalMethod_subgraph, visitTraversalMethod_substring_int, visitTraversalMethod_substring_int_int, visitTraversalMethod_sum_Empty, visitTraversalMethod_sum_Scope, visitTraversalMethod_tail_Empty, visitTraversalMethod_tail_long, visitTraversalMethod_tail_Scope, visitTraversalMethod_tail_Scope_long, visitTraversalMethod_timeLimit, visitTraversalMethod_times, visitTraversalMethod_to_Direction_String, visitTraversalMethod_to_String, visitTraversalMethod_to_Traversal, visitTraversalMethod_to_Vertex, visitTraversalMethod_toE, visitTraversalMethod_toLower_Empty, visitTraversalMethod_toUpper_Empty, visitTraversalMethod_toV, visitTraversalMethod_tree_Empty, visitTraversalMethod_tree_String, visitTraversalMethod_trim_Empty, visitTraversalMethod_unfold, visitTraversalMethod_union, visitTraversalMethod_until_Predicate, visitTraversalMethod_until_Traversal, visitTraversalMethod_V, visitTraversalMethod_value, visitTraversalMethod_valueMap_boolean_String, visitTraversalMethod_valueMap_String, visitTraversalMethod_values, visitTraversalMethod_where_P, visitTraversalMethod_where_String_P, visitTraversalMethod_where_Traversal, visitTraversalMethod_with_String, visitTraversalMethod_with_String_Object, visitTraversalMethod_write, visitTraversalOperator, visitTraversalOrder, visitTraversalPick, visitTraversalPop, visitTraversalPredicate, visitTraversalPredicate_between, visitTraversalPredicate_containing, visitTraversalPredicate_endingWith, visitTraversalPredicate_eq, visitTraversalPredicate_gt, visitTraversalPredicate_gte, visitTraversalPredicate_inside, visitTraversalPredicate_lt, visitTraversalPredicate_lte, visitTraversalPredicate_neq, visitTraversalPredicate_not, visitTraversalPredicate_notContaining, visitTraversalPredicate_notEndingWith, visitTraversalPredicate_notRegex, visitTraversalPredicate_notStartingWith, visitTraversalPredicate_outside, visitTraversalPredicate_regex, visitTraversalPredicate_startingWith, visitTraversalPredicate_within, visitTraversalPredicate_without, visitTraversalSackMethod, visitTraversalScope, visitTraversalSelfMethod, visitTraversalSelfMethod_none, visitTraversalSource, visitTraversalSourceSelfMethod, visitTraversalSourceSelfMethod_with, visitTraversalSourceSelfMethod_withBulk, visitTraversalSourceSelfMethod_withPath, visitTraversalSourceSelfMethod_withSack, visitTraversalSourceSelfMethod_withSideEffect, visitTraversalSourceSelfMethod_withStrategies, visitTraversalSourceSpawnMethod, visitTraversalSourceSpawnMethod_addE, visitTraversalSourceSpawnMethod_addV, visitTraversalSourceSpawnMethod_call_empty, visitTraversalSourceSpawnMethod_call_string, visitTraversalSourceSpawnMethod_call_string_map, visitTraversalSourceSpawnMethod_call_string_map_traversal, visitTraversalSourceSpawnMethod_call_string_traversal, visitTraversalSourceSpawnMethod_E, visitTraversalSourceSpawnMethod_inject, visitTraversalSourceSpawnMethod_io, visitTraversalSourceSpawnMethod_mergeE_Map, visitTraversalSourceSpawnMethod_mergeE_Traversal, visitTraversalSourceSpawnMethod_mergeV_Map, visitTraversalSourceSpawnMethod_mergeV_Traversal, visitTraversalSourceSpawnMethod_union, visitTraversalSourceSpawnMethod_V, visitTraversalStrategy, visitTraversalStrategyArgs_EdgeLabelVerificationStrategy, visitTraversalStrategyArgs_PartitionStrategy, visitTraversalStrategyArgs_ProductiveByStrategy, visitTraversalStrategyArgs_ReservedKeysVerificationStrategy, visitTraversalStrategyArgs_SubgraphStrategy, visitTraversalStrategyExpr, visitTraversalStrategyList, visitTraversalTerminalMethod, visitTraversalTerminalMethod_explain, visitTraversalTerminalMethod_hasNext, visitTraversalTerminalMethod_iterate, visitTraversalTerminalMethod_next, visitTraversalTerminalMethod_toBulkSet, visitTraversalTerminalMethod_toList, visitTraversalTerminalMethod_toSet, visitTraversalTerminalMethod_tryNext, visitTraversalToken, visitWithOptionKeys, visitWithOptionsConstants_all, visitWithOptionsConstants_ids, visitWithOptionsConstants_indexer, visitWithOptionsConstants_keys, visitWithOptionsConstants_labels, visitWithOptionsConstants_list, visitWithOptionsConstants_map, visitWithOptionsConstants_none, visitWithOptionsConstants_tokens, visitWithOptionsConstants_values, visitWithOptionsStringConstant, visitWithOptionsValues
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Constructor Detail
-
ArgumentVisitor
public ArgumentVisitor(VariableResolver resolver, GremlinAntlrToJava antlr)
-
-
Method Detail
-
parseBoolean
public boolean parseBoolean(GremlinParser.BooleanArgumentContext ctx)
Wrapper to visit function for boolean.
-
parseNumber
public Number parseNumber(GremlinParser.IntegerArgumentContext ctx)
Wrapper to visit function for integer types.
-
parseNumber
public Number parseNumber(GremlinParser.FloatArgumentContext ctx)
Wrapper to visit function for float types.
-
parseString
public String parseString(GremlinParser.StringArgumentContext ctx)
Wrapper to visit function for string types.
-
parseDate
public Date parseDate(GremlinParser.DateArgumentContext ctx)
Wrapper to visit function for Date type.
-
parseObject
public Object parseObject(GremlinParser.GenericLiteralArgumentContext ctx)
Wrapper for visit function for object types.
-
parseDirection
public Direction parseDirection(GremlinParser.TraversalDirectionArgumentContext ctx)
Wrapper for visit function forDirection
types.
-
parseVertex
public Vertex parseVertex(GremlinParser.StructureVertexArgumentContext ctx)
Wrapper for visit function forVertex
types.
-
parseOrder
public Order parseOrder(GremlinParser.TraversalOrderArgumentContext ctx)
Wrapper for visit function forOrder
types.
-
parseScope
public Scope parseScope(GremlinParser.TraversalScopeArgumentContext ctx)
Wrapper for visit function forScope
types.
-
parseT
public T parseT(GremlinParser.TraversalTokenArgumentContext ctx)
Wrapper for visit function forT
types.
-
parseCardinality
public VertexProperty.Cardinality parseCardinality(GremlinParser.TraversalCardinalityArgumentContext ctx)
Wrapper for visit function forVertexProperty.Cardinality
types.
-
parseMerge
public Merge parseMerge(GremlinParser.TraversalMergeArgumentContext ctx)
Wrapper for visit function forMerge
types.
-
parsePop
public Pop parsePop(GremlinParser.TraversalPopArgumentContext ctx)
Wrapper for visit function forPop
types.
-
parseDT
public DT parseDT(GremlinParser.TraversalDTArgumentContext ctx)
Wrapper for visit function forDT
types.
-
parseColumn
public Column parseColumn(GremlinParser.TraversalColumnArgumentContext ctx)
Wrapper for visit function forPop
types.
-
parseFunction
public Function parseFunction(GremlinParser.TraversalFunctionArgumentContext ctx)
-
parseComparator
public Comparator parseComparator(GremlinParser.TraversalComparatorArgumentContext ctx)
Wrapper for visit function forComparator
types likeOrder
.
-
parseMap
public Map parseMap(GremlinParser.GenericLiteralMapArgumentContext ctx)
Wrapper for visit function forMap
types.
-
parseMap
public Map parseMap(GremlinParser.GenericLiteralMapNullableArgumentContext ctx)
Wrapper for visit function forMap
types.
-
parseObjectVarargs
public Object[] parseObjectVarargs(GremlinParser.GenericLiteralListArgumentContext ctx)
Wrapper for visit function for list types.
-
parseString
public String parseString(GremlinParser.StringNullableArgumentContext ctx)
Wrapper to visit function for string types.
-
visitBooleanArgument
public Object visitBooleanArgument(GremlinParser.BooleanArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.booleanArgument()
.- Specified by:
visitBooleanArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitBooleanArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIntegerArgument
public Object visitIntegerArgument(GremlinParser.IntegerArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.integerArgument()
.- Specified by:
visitIntegerArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitIntegerArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloatArgument
public Object visitFloatArgument(GremlinParser.FloatArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.floatArgument()
.- Specified by:
visitFloatArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitFloatArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringArgument
public Object visitStringArgument(GremlinParser.StringArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.stringArgument()
.- Specified by:
visitStringArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitStringArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStringNullableArgument
public Object visitStringNullableArgument(GremlinParser.StringNullableArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.stringNullableArgument()
.- Specified by:
visitStringNullableArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitStringNullableArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateArgument
public Object visitDateArgument(GremlinParser.DateArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.dateArgument()
.- Specified by:
visitDateArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitDateArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericLiteralArgument
public Object visitGenericLiteralArgument(GremlinParser.GenericLiteralArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.genericLiteralArgument()
.- Specified by:
visitGenericLiteralArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitGenericLiteralArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericLiteralListArgument
public Object visitGenericLiteralListArgument(GremlinParser.GenericLiteralListArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.genericLiteralListArgument()
.- Specified by:
visitGenericLiteralListArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitGenericLiteralListArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalDirectionArgument
public Object visitTraversalDirectionArgument(GremlinParser.TraversalDirectionArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalDirectionArgument()
.- Specified by:
visitTraversalDirectionArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalDirectionArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitStructureVertexArgument
public Object visitStructureVertexArgument(GremlinParser.StructureVertexArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.structureVertexArgument()
.- Specified by:
visitStructureVertexArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitStructureVertexArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalOrderArgument
public Object visitTraversalOrderArgument(GremlinParser.TraversalOrderArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalOrderArgument()
.- Specified by:
visitTraversalOrderArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalOrderArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalScopeArgument
public Object visitTraversalScopeArgument(GremlinParser.TraversalScopeArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalScopeArgument()
.- Specified by:
visitTraversalScopeArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalScopeArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalTokenArgument
public Object visitTraversalTokenArgument(GremlinParser.TraversalTokenArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalTokenArgument()
.- Specified by:
visitTraversalTokenArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalTokenArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalCardinalityArgument
public Object visitTraversalCardinalityArgument(GremlinParser.TraversalCardinalityArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalCardinalityArgument()
.- Specified by:
visitTraversalCardinalityArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalCardinalityArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalMergeArgument
public Object visitTraversalMergeArgument(GremlinParser.TraversalMergeArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalMergeArgument()
.- Specified by:
visitTraversalMergeArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalMergeArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalPopArgument
public Object visitTraversalPopArgument(GremlinParser.TraversalPopArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalPopArgument()
.- Specified by:
visitTraversalPopArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalPopArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalDTArgument
public Object visitTraversalDTArgument(GremlinParser.TraversalDTArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalDTArgument()
.- Specified by:
visitTraversalDTArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalDTArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalColumnArgument
public Object visitTraversalColumnArgument(GremlinParser.TraversalColumnArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalColumnArgument()
.- Specified by:
visitTraversalColumnArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalColumnArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalComparatorArgument
public Object visitTraversalComparatorArgument(GremlinParser.TraversalComparatorArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalComparatorArgument()
.- Specified by:
visitTraversalComparatorArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalComparatorArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalFunctionArgument
public Object visitTraversalFunctionArgument(GremlinParser.TraversalFunctionArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalFunctionArgument()
.- Specified by:
visitTraversalFunctionArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalFunctionArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalBiFunctionArgument
public Object visitTraversalBiFunctionArgument(GremlinParser.TraversalBiFunctionArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalBiFunctionArgument()
.- Specified by:
visitTraversalBiFunctionArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalBiFunctionArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericLiteralMapArgument
public Object visitGenericLiteralMapArgument(GremlinParser.GenericLiteralMapArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.genericLiteralMapArgument()
.- Specified by:
visitGenericLiteralMapArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitGenericLiteralMapArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericLiteralMapNullableArgument
public Object visitGenericLiteralMapNullableArgument(GremlinParser.GenericLiteralMapNullableArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.genericLiteralMapNullableArgument()
.- Specified by:
visitGenericLiteralMapNullableArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitGenericLiteralMapNullableArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTraversalSackMethodArgument
public Object visitTraversalSackMethodArgument(GremlinParser.TraversalSackMethodArgumentContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.traversalSackMethodArgument()
.- Specified by:
visitTraversalSackMethodArgument
in interfaceGremlinVisitor<Object>
- Overrides:
visitTraversalSackMethodArgument
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariable
public Object visitVariable(GremlinParser.VariableContext ctx)
Description copied from class:DefaultGremlinBaseVisitor
Visit a parse tree produced byGremlinParser.variable()
.- Specified by:
visitVariable
in interfaceGremlinVisitor<Object>
- Overrides:
visitVariable
in classDefaultGremlinBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-