T - The return type of the visit operation. Use Void for
operations with no return type.public class GraphqlBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements GraphqlVisitor<T>
GraphqlVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
GraphqlBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitDocument(@NotNull GraphqlParser.DocumentContext ctx)
GraphqlParser.document().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDocument in interface GraphqlVisitor<T>ctx - the parse treepublic T visitDefinition(@NotNull GraphqlParser.DefinitionContext ctx)
GraphqlParser.definition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDefinition in interface GraphqlVisitor<T>ctx - the parse treepublic T visitOperationDefinition(@NotNull GraphqlParser.OperationDefinitionContext ctx)
GraphqlParser.operationDefinition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOperationDefinition in interface GraphqlVisitor<T>ctx - the parse treepublic T visitOperationType(@NotNull GraphqlParser.OperationTypeContext ctx)
GraphqlParser.operationType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitOperationType in interface GraphqlVisitor<T>ctx - the parse treepublic T visitVariableDefinitions(@NotNull GraphqlParser.VariableDefinitionsContext ctx)
GraphqlParser.variableDefinitions().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableDefinitions in interface GraphqlVisitor<T>ctx - the parse treepublic T visitVariableDefinition(@NotNull GraphqlParser.VariableDefinitionContext ctx)
GraphqlParser.variableDefinition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariableDefinition in interface GraphqlVisitor<T>ctx - the parse treepublic T visitVariable(@NotNull GraphqlParser.VariableContext ctx)
GraphqlParser.variable().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitVariable in interface GraphqlVisitor<T>ctx - the parse treepublic T visitDefaultValue(@NotNull GraphqlParser.DefaultValueContext ctx)
GraphqlParser.defaultValue().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDefaultValue in interface GraphqlVisitor<T>ctx - the parse treepublic T visitSelectionSet(@NotNull GraphqlParser.SelectionSetContext ctx)
GraphqlParser.selectionSet().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSelectionSet in interface GraphqlVisitor<T>ctx - the parse treepublic T visitSelection(@NotNull GraphqlParser.SelectionContext ctx)
GraphqlParser.selection().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitSelection in interface GraphqlVisitor<T>ctx - the parse treepublic T visitField(@NotNull GraphqlParser.FieldContext ctx)
GraphqlParser.field().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitField in interface GraphqlVisitor<T>ctx - the parse treepublic T visitAlias(@NotNull GraphqlParser.AliasContext ctx)
GraphqlParser.alias().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitAlias in interface GraphqlVisitor<T>ctx - the parse treepublic T visitArguments(@NotNull GraphqlParser.ArgumentsContext ctx)
GraphqlParser.arguments().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArguments in interface GraphqlVisitor<T>ctx - the parse treepublic T visitArgument(@NotNull GraphqlParser.ArgumentContext ctx)
GraphqlParser.argument().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArgument in interface GraphqlVisitor<T>ctx - the parse treepublic T visitFragmentSpread(@NotNull GraphqlParser.FragmentSpreadContext ctx)
GraphqlParser.fragmentSpread().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFragmentSpread in interface GraphqlVisitor<T>ctx - the parse treepublic T visitInlineFragment(@NotNull GraphqlParser.InlineFragmentContext ctx)
GraphqlParser.inlineFragment().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitInlineFragment in interface GraphqlVisitor<T>ctx - the parse treepublic T visitFragmentDefinition(@NotNull GraphqlParser.FragmentDefinitionContext ctx)
GraphqlParser.fragmentDefinition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFragmentDefinition in interface GraphqlVisitor<T>ctx - the parse treepublic T visitFragmentName(@NotNull GraphqlParser.FragmentNameContext ctx)
GraphqlParser.fragmentName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitFragmentName in interface GraphqlVisitor<T>ctx - the parse treepublic T visitTypeCondition(@NotNull GraphqlParser.TypeConditionContext ctx)
GraphqlParser.typeCondition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTypeCondition in interface GraphqlVisitor<T>ctx - the parse treepublic T visitValue(@NotNull GraphqlParser.ValueContext ctx)
GraphqlParser.value().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValue in interface GraphqlVisitor<T>ctx - the parse treepublic T visitValueWithVariable(@NotNull GraphqlParser.ValueWithVariableContext ctx)
GraphqlParser.valueWithVariable().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValueWithVariable in interface GraphqlVisitor<T>ctx - the parse treepublic T visitEnumValue(@NotNull GraphqlParser.EnumValueContext ctx)
GraphqlParser.enumValue().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitEnumValue in interface GraphqlVisitor<T>ctx - the parse treepublic T visitArrayValue(@NotNull GraphqlParser.ArrayValueContext ctx)
GraphqlParser.arrayValue().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArrayValue in interface GraphqlVisitor<T>ctx - the parse treepublic T visitArrayValueWithVariable(@NotNull GraphqlParser.ArrayValueWithVariableContext ctx)
GraphqlParser.arrayValueWithVariable().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitArrayValueWithVariable in interface GraphqlVisitor<T>ctx - the parse treepublic T visitObjectValue(@NotNull GraphqlParser.ObjectValueContext ctx)
GraphqlParser.objectValue().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObjectValue in interface GraphqlVisitor<T>ctx - the parse treepublic T visitObjectValueWithVariable(@NotNull GraphqlParser.ObjectValueWithVariableContext ctx)
GraphqlParser.objectValueWithVariable().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObjectValueWithVariable in interface GraphqlVisitor<T>ctx - the parse treepublic T visitObjectField(@NotNull GraphqlParser.ObjectFieldContext ctx)
GraphqlParser.objectField().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObjectField in interface GraphqlVisitor<T>ctx - the parse treepublic T visitObjectFieldWithVariable(@NotNull GraphqlParser.ObjectFieldWithVariableContext ctx)
GraphqlParser.objectFieldWithVariable().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitObjectFieldWithVariable in interface GraphqlVisitor<T>ctx - the parse treepublic T visitDirectives(@NotNull GraphqlParser.DirectivesContext ctx)
GraphqlParser.directives().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDirectives in interface GraphqlVisitor<T>ctx - the parse treepublic T visitDirective(@NotNull GraphqlParser.DirectiveContext ctx)
GraphqlParser.directive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDirective in interface GraphqlVisitor<T>ctx - the parse treepublic T visitType(@NotNull GraphqlParser.TypeContext ctx)
GraphqlParser.type().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitType in interface GraphqlVisitor<T>ctx - the parse treepublic T visitTypeName(@NotNull GraphqlParser.TypeNameContext ctx)
GraphqlParser.typeName().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitTypeName in interface GraphqlVisitor<T>ctx - the parse treepublic T visitListType(@NotNull GraphqlParser.ListTypeContext ctx)
GraphqlParser.listType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitListType in interface GraphqlVisitor<T>ctx - the parse treepublic T visitNonNullType(@NotNull GraphqlParser.NonNullTypeContext ctx)
GraphqlParser.nonNullType().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNonNullType in interface GraphqlVisitor<T>ctx - the parse tree