Package graphql.parser.antlr
Interface GraphqlVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
GraphqlBaseVisitor
public interface GraphqlVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced
by
GraphqlParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byGraphqlParser.alias().Visit a parse tree produced byGraphqlParser.argument().Visit a parse tree produced byGraphqlParser.arguments().Visit a parse tree produced byGraphqlParser.argumentsDefinition().Visit a parse tree produced byGraphqlParser.arrayValue().Visit a parse tree produced byGraphqlParser.arrayValueWithVariable().Visit a parse tree produced byGraphqlParser.baseName().Visit a parse tree produced byGraphqlParser.defaultValue().Visit a parse tree produced byGraphqlParser.definition().Visit a parse tree produced byGraphqlParser.description().Visit a parse tree produced byGraphqlParser.directive().Visit a parse tree produced byGraphqlParser.directiveDefinition().Visit a parse tree produced byGraphqlParser.directiveLocation().Visit a parse tree produced byGraphqlParser.directiveLocations().Visit a parse tree produced byGraphqlParser.directives().Visit a parse tree produced byGraphqlParser.document().Visit a parse tree produced byGraphqlParser.emptyParentheses().Visit a parse tree produced byGraphqlParser.enumTypeDefinition().Visit a parse tree produced byGraphqlParser.enumTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.enumValue().Visit a parse tree produced byGraphqlParser.enumValueDefinition().Visit a parse tree produced byGraphqlParser.enumValueDefinitions().Visit a parse tree produced byGraphqlParser.enumValueName().Visit a parse tree produced byGraphqlParser.extensionEnumValueDefinitions().Visit a parse tree produced byGraphqlParser.extensionFieldsDefinition().visitExtensionInputObjectValueDefinitions(GraphqlParser.ExtensionInputObjectValueDefinitionsContext ctx) Visit a parse tree produced byGraphqlParser.extensionInputObjectValueDefinitions().Visit a parse tree produced byGraphqlParser.field().Visit a parse tree produced byGraphqlParser.fieldDefinition().Visit a parse tree produced byGraphqlParser.fieldsDefinition().Visit a parse tree produced byGraphqlParser.fragmentDefinition().Visit a parse tree produced byGraphqlParser.fragmentName().Visit a parse tree produced byGraphqlParser.fragmentSpread().Visit a parse tree produced byGraphqlParser.implementsInterfaces().Visit a parse tree produced byGraphqlParser.inlineFragment().Visit a parse tree produced byGraphqlParser.inputObjectTypeDefinition().visitInputObjectTypeExtensionDefinition(GraphqlParser.InputObjectTypeExtensionDefinitionContext ctx) Visit a parse tree produced byGraphqlParser.inputObjectTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.inputObjectValueDefinitions().Visit a parse tree produced byGraphqlParser.inputValueDefinition().Visit a parse tree produced byGraphqlParser.interfaceTypeDefinition().Visit a parse tree produced byGraphqlParser.interfaceTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.listType().Visit a parse tree produced byGraphqlParser.name().Visit a parse tree produced byGraphqlParser.nonNullType().Visit a parse tree produced byGraphqlParser.objectField().Visit a parse tree produced byGraphqlParser.objectFieldWithVariable().Visit a parse tree produced byGraphqlParser.objectTypeDefinition().Visit a parse tree produced byGraphqlParser.objectTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.objectValue().Visit a parse tree produced byGraphqlParser.objectValueWithVariable().Visit a parse tree produced byGraphqlParser.operationDefinition().Visit a parse tree produced byGraphqlParser.operationType().Visit a parse tree produced byGraphqlParser.operationTypeDefinition().Visit a parse tree produced byGraphqlParser.scalarTypeDefinition().Visit a parse tree produced byGraphqlParser.scalarTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.schemaDefinition().Visit a parse tree produced byGraphqlParser.schemaExtension().Visit a parse tree produced byGraphqlParser.selection().Visit a parse tree produced byGraphqlParser.selectionSet().Visit a parse tree produced byGraphqlParser.type().Visit a parse tree produced byGraphqlParser.typeCondition().Visit a parse tree produced byGraphqlParser.typeDefinition().Visit a parse tree produced byGraphqlParser.typeExtension().Visit a parse tree produced byGraphqlParser.typeName().Visit a parse tree produced byGraphqlParser.typeSystemDefinition().Visit a parse tree produced byGraphqlParser.typeSystemExtension().Visit a parse tree produced byGraphqlParser.unionMembers().Visit a parse tree produced byGraphqlParser.unionMembership().Visit a parse tree produced byGraphqlParser.unionTypeDefinition().Visit a parse tree produced byGraphqlParser.unionTypeExtensionDefinition().Visit a parse tree produced byGraphqlParser.value().Visit a parse tree produced byGraphqlParser.valueWithVariable().Visit a parse tree produced byGraphqlParser.variable().Visit a parse tree produced byGraphqlParser.variableDefinition().Visit a parse tree produced byGraphqlParser.variableDefinitions().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitDocument
Visit a parse tree produced byGraphqlParser.document().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefinition
Visit a parse tree produced byGraphqlParser.definition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeSystemDefinition
Visit a parse tree produced byGraphqlParser.typeSystemDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeSystemExtension
Visit a parse tree produced byGraphqlParser.typeSystemExtension().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSchemaDefinition
Visit a parse tree produced byGraphqlParser.schemaDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSchemaExtension
Visit a parse tree produced byGraphqlParser.schemaExtension().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperationTypeDefinition
Visit a parse tree produced byGraphqlParser.operationTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeDefinition
Visit a parse tree produced byGraphqlParser.typeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeExtension
Visit a parse tree produced byGraphqlParser.typeExtension().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyParentheses
Visit a parse tree produced byGraphqlParser.emptyParentheses().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScalarTypeDefinition
Visit a parse tree produced byGraphqlParser.scalarTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitScalarTypeExtensionDefinition
Visit a parse tree produced byGraphqlParser.scalarTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectTypeDefinition
Visit a parse tree produced byGraphqlParser.objectTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectTypeExtensionDefinition
Visit a parse tree produced byGraphqlParser.objectTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitImplementsInterfaces
Visit a parse tree produced byGraphqlParser.implementsInterfaces().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldsDefinition
Visit a parse tree produced byGraphqlParser.fieldsDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtensionFieldsDefinition
Visit a parse tree produced byGraphqlParser.extensionFieldsDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFieldDefinition
Visit a parse tree produced byGraphqlParser.fieldDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgumentsDefinition
Visit a parse tree produced byGraphqlParser.argumentsDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInputValueDefinition
Visit a parse tree produced byGraphqlParser.inputValueDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceTypeDefinition
Visit a parse tree produced byGraphqlParser.interfaceTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInterfaceTypeExtensionDefinition
Visit a parse tree produced byGraphqlParser.interfaceTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionTypeDefinition
Visit a parse tree produced byGraphqlParser.unionTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionTypeExtensionDefinition
Visit a parse tree produced byGraphqlParser.unionTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionMembership
Visit a parse tree produced byGraphqlParser.unionMembership().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnionMembers
Visit a parse tree produced byGraphqlParser.unionMembers().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumTypeDefinition
Visit a parse tree produced byGraphqlParser.enumTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumTypeExtensionDefinition
Visit a parse tree produced byGraphqlParser.enumTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValueDefinitions
Visit a parse tree produced byGraphqlParser.enumValueDefinitions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtensionEnumValueDefinitions
Visit a parse tree produced byGraphqlParser.extensionEnumValueDefinitions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValueDefinition
Visit a parse tree produced byGraphqlParser.enumValueDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInputObjectTypeDefinition
Visit a parse tree produced byGraphqlParser.inputObjectTypeDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInputObjectTypeExtensionDefinition
T visitInputObjectTypeExtensionDefinition(GraphqlParser.InputObjectTypeExtensionDefinitionContext ctx) Visit a parse tree produced byGraphqlParser.inputObjectTypeExtensionDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInputObjectValueDefinitions
Visit a parse tree produced byGraphqlParser.inputObjectValueDefinitions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExtensionInputObjectValueDefinitions
T visitExtensionInputObjectValueDefinitions(GraphqlParser.ExtensionInputObjectValueDefinitionsContext ctx) Visit a parse tree produced byGraphqlParser.extensionInputObjectValueDefinitions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveDefinition
Visit a parse tree produced byGraphqlParser.directiveDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveLocation
Visit a parse tree produced byGraphqlParser.directiveLocation().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectiveLocations
Visit a parse tree produced byGraphqlParser.directiveLocations().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperationType
Visit a parse tree produced byGraphqlParser.operationType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDescription
Visit a parse tree produced byGraphqlParser.description().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValue
Visit a parse tree produced byGraphqlParser.enumValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValue
Visit a parse tree produced byGraphqlParser.arrayValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArrayValueWithVariable
Visit a parse tree produced byGraphqlParser.arrayValueWithVariable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectValue
Visit a parse tree produced byGraphqlParser.objectValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectValueWithVariable
Visit a parse tree produced byGraphqlParser.objectValueWithVariable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectField
Visit a parse tree produced byGraphqlParser.objectField().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObjectFieldWithVariable
Visit a parse tree produced byGraphqlParser.objectFieldWithVariable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirectives
Visit a parse tree produced byGraphqlParser.directives().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDirective
Visit a parse tree produced byGraphqlParser.directive().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArguments
Visit a parse tree produced byGraphqlParser.arguments().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitArgument
Visit a parse tree produced byGraphqlParser.argument().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBaseName
Visit a parse tree produced byGraphqlParser.baseName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFragmentName
Visit a parse tree produced byGraphqlParser.fragmentName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnumValueName
Visit a parse tree produced byGraphqlParser.enumValueName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitName
Visit a parse tree produced byGraphqlParser.name().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValue
Visit a parse tree produced byGraphqlParser.value().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitValueWithVariable
Visit a parse tree produced byGraphqlParser.valueWithVariable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariable
Visit a parse tree produced byGraphqlParser.variable().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDefaultValue
Visit a parse tree produced byGraphqlParser.defaultValue().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitType
Visit a parse tree produced byGraphqlParser.type().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeName
Visit a parse tree produced byGraphqlParser.typeName().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitListType
Visit a parse tree produced byGraphqlParser.listType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNonNullType
Visit a parse tree produced byGraphqlParser.nonNullType().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitOperationDefinition
Visit a parse tree produced byGraphqlParser.operationDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDefinitions
Visit a parse tree produced byGraphqlParser.variableDefinitions().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVariableDefinition
Visit a parse tree produced byGraphqlParser.variableDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelectionSet
Visit a parse tree produced byGraphqlParser.selectionSet().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelection
Visit a parse tree produced byGraphqlParser.selection().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitField
Visit a parse tree produced byGraphqlParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAlias
Visit a parse tree produced byGraphqlParser.alias().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFragmentSpread
Visit a parse tree produced byGraphqlParser.fragmentSpread().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineFragment
Visit a parse tree produced byGraphqlParser.inlineFragment().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFragmentDefinition
Visit a parse tree produced byGraphqlParser.fragmentDefinition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypeCondition
Visit a parse tree produced byGraphqlParser.typeCondition().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-