Class GraphQLBaseVisitor<Result>
This class provides an empty implementation of IGraphQLVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Graphql
Assembly: Graphql.dll
Syntax
public class GraphQLBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IGraphQLVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAlias(GraphQLParser.AliasContext)
Visit a parse tree produced by alias().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitAlias(GraphQLParser.AliasContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.AliasContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArgument(GraphQLParser.ArgumentContext)
Visit a parse tree produced by argument().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitArgument(GraphQLParser.ArgumentContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ArgumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArguments(GraphQLParser.ArgumentsContext)
Visit a parse tree produced by arguments().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitArguments(GraphQLParser.ArgumentsContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ArgumentsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitArgumentsDefinition(GraphQLParser.ArgumentsDefinitionContext)
Visit a parse tree produced by argumentsDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitArgumentsDefinition(GraphQLParser.ArgumentsDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ArgumentsDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBooleanValue(GraphQLParser.BooleanValueContext)
Visit a parse tree produced by booleanValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitBooleanValue(GraphQLParser.BooleanValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.BooleanValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefaultValue(GraphQLParser.DefaultValueContext)
Visit a parse tree produced by defaultValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDefaultValue(GraphQLParser.DefaultValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DefaultValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDefinition(GraphQLParser.DefinitionContext)
Visit a parse tree produced by definition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDefinition(GraphQLParser.DefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDescription(GraphQLParser.DescriptionContext)
Visit a parse tree produced by description().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDescription(GraphQLParser.DescriptionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DescriptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirective(GraphQLParser.DirectiveContext)
Visit a parse tree produced by directive().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirective(GraphQLParser.DirectiveContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DirectiveContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirectiveDefinition(GraphQLParser.DirectiveDefinitionContext)
Visit a parse tree produced by directiveDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirectiveDefinition(GraphQLParser.DirectiveDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DirectiveDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirectiveLocation(GraphQLParser.DirectiveLocationContext)
Visit a parse tree produced by directiveLocation().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirectiveLocation(GraphQLParser.DirectiveLocationContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DirectiveLocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirectiveLocations(GraphQLParser.DirectiveLocationsContext)
Visit a parse tree produced by directiveLocations().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirectiveLocations(GraphQLParser.DirectiveLocationsContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DirectiveLocationsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDirectives(GraphQLParser.DirectivesContext)
Visit a parse tree produced by directives().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDirectives(GraphQLParser.DirectivesContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DirectivesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDocument(GraphQLParser.DocumentContext)
Visit a parse tree produced by document().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitDocument(GraphQLParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.DocumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumTypeDefinition(GraphQLParser.EnumTypeDefinitionContext)
Visit a parse tree produced by enumTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumTypeDefinition(GraphQLParser.EnumTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.EnumTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumTypeExtension(GraphQLParser.EnumTypeExtensionContext)
Visit a parse tree produced by enumTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumTypeExtension(GraphQLParser.EnumTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.EnumTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValue(GraphQLParser.EnumValueContext)
Visit a parse tree produced by enumValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumValue(GraphQLParser.EnumValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.EnumValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValueDefinition(GraphQLParser.EnumValueDefinitionContext)
Visit a parse tree produced by enumValueDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumValueDefinition(GraphQLParser.EnumValueDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.EnumValueDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValuesDefinition(GraphQLParser.EnumValuesDefinitionContext)
Visit a parse tree produced by enumValuesDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitEnumValuesDefinition(GraphQLParser.EnumValuesDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.EnumValuesDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExecutableDefinition(GraphQLParser.ExecutableDefinitionContext)
Visit a parse tree produced by executableDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExecutableDefinition(GraphQLParser.ExecutableDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ExecutableDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitExecutableDirectiveLocation(GraphQLParser.ExecutableDirectiveLocationContext)
Visit a parse tree produced by executableDirectiveLocation().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitExecutableDirectiveLocation(GraphQLParser.ExecutableDirectiveLocationContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ExecutableDirectiveLocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitField(GraphQLParser.FieldContext)
Visit a parse tree produced by field().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitField(GraphQLParser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldDefinition(GraphQLParser.FieldDefinitionContext)
Visit a parse tree produced by fieldDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFieldDefinition(GraphQLParser.FieldDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FieldDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldsDefinition(GraphQLParser.FieldsDefinitionContext)
Visit a parse tree produced by fieldsDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFieldsDefinition(GraphQLParser.FieldsDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FieldsDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFloatValue(GraphQLParser.FloatValueContext)
Visit a parse tree produced by floatValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFloatValue(GraphQLParser.FloatValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FloatValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFragmentDefinition(GraphQLParser.FragmentDefinitionContext)
Visit a parse tree produced by fragmentDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFragmentDefinition(GraphQLParser.FragmentDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FragmentDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFragmentName(GraphQLParser.FragmentNameContext)
Visit a parse tree produced by fragmentName().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFragmentName(GraphQLParser.FragmentNameContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FragmentNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFragmentSpread(GraphQLParser.FragmentSpreadContext)
Visit a parse tree produced by fragmentSpread().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitFragmentSpread(GraphQLParser.FragmentSpreadContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.FragmentSpreadContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImplementsInterfaces(GraphQLParser.ImplementsInterfacesContext)
Visit a parse tree produced by implementsInterfaces().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitImplementsInterfaces(GraphQLParser.ImplementsInterfacesContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ImplementsInterfacesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInlineFragment(GraphQLParser.InlineFragmentContext)
Visit a parse tree produced by inlineFragment().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInlineFragment(GraphQLParser.InlineFragmentContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InlineFragmentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInputFieldsDefinition(GraphQLParser.InputFieldsDefinitionContext)
Visit a parse tree produced by inputFieldsDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInputFieldsDefinition(GraphQLParser.InputFieldsDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InputFieldsDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInputObjectTypeDefinition(GraphQLParser.InputObjectTypeDefinitionContext)
Visit a parse tree produced by inputObjectTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInputObjectTypeDefinition(GraphQLParser.InputObjectTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InputObjectTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInputObjectTypeExtension(GraphQLParser.InputObjectTypeExtensionContext)
Visit a parse tree produced by inputObjectTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInputObjectTypeExtension(GraphQLParser.InputObjectTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InputObjectTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInputValueDefinition(GraphQLParser.InputValueDefinitionContext)
Visit a parse tree produced by inputValueDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInputValueDefinition(GraphQLParser.InputValueDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InputValueDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterfaceTypeDefinition(GraphQLParser.InterfaceTypeDefinitionContext)
Visit a parse tree produced by interfaceTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInterfaceTypeDefinition(GraphQLParser.InterfaceTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InterfaceTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterfaceTypeExtension(GraphQLParser.InterfaceTypeExtensionContext)
Visit a parse tree produced by interfaceTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitInterfaceTypeExtension(GraphQLParser.InterfaceTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.InterfaceTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIntValue(GraphQLParser.IntValueContext)
Visit a parse tree produced by intValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitIntValue(GraphQLParser.IntValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.IntValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitListType(GraphQLParser.ListTypeContext)
Visit a parse tree produced by listType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitListType(GraphQLParser.ListTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ListTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitListValue(GraphQLParser.ListValueContext)
Visit a parse tree produced by listValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitListValue(GraphQLParser.ListValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ListValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitName(GraphQLParser.NameContext)
Visit a parse tree produced by name().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitName(GraphQLParser.NameContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.NameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNamedType(GraphQLParser.NamedTypeContext)
Visit a parse tree produced by namedType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNamedType(GraphQLParser.NamedTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.NamedTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNullValue(GraphQLParser.NullValueContext)
Visit a parse tree produced by nullValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitNullValue(GraphQLParser.NullValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.NullValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObjectField(GraphQLParser.ObjectFieldContext)
Visit a parse tree produced by objectField().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitObjectField(GraphQLParser.ObjectFieldContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ObjectFieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObjectTypeDefinition(GraphQLParser.ObjectTypeDefinitionContext)
Visit a parse tree produced by objectTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitObjectTypeDefinition(GraphQLParser.ObjectTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ObjectTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObjectTypeExtension(GraphQLParser.ObjectTypeExtensionContext)
Visit a parse tree produced by objectTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitObjectTypeExtension(GraphQLParser.ObjectTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ObjectTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitObjectValue(GraphQLParser.ObjectValueContext)
Visit a parse tree produced by objectValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitObjectValue(GraphQLParser.ObjectValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ObjectValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperationDefinition(GraphQLParser.OperationDefinitionContext)
Visit a parse tree produced by operationDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOperationDefinition(GraphQLParser.OperationDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.OperationDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperationType(GraphQLParser.OperationTypeContext)
Visit a parse tree produced by operationType().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOperationType(GraphQLParser.OperationTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.OperationTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOperationTypeDefinition(GraphQLParser.OperationTypeDefinitionContext)
Visit a parse tree produced by operationTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitOperationTypeDefinition(GraphQLParser.OperationTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.OperationTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRootOperationTypeDefinition(GraphQLParser.RootOperationTypeDefinitionContext)
Visit a parse tree produced by rootOperationTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitRootOperationTypeDefinition(GraphQLParser.RootOperationTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.RootOperationTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScalarTypeDefinition(GraphQLParser.ScalarTypeDefinitionContext)
Visit a parse tree produced by scalarTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitScalarTypeDefinition(GraphQLParser.ScalarTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ScalarTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitScalarTypeExtension(GraphQLParser.ScalarTypeExtensionContext)
Visit a parse tree produced by scalarTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitScalarTypeExtension(GraphQLParser.ScalarTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ScalarTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSchemaDefinition(GraphQLParser.SchemaDefinitionContext)
Visit a parse tree produced by schemaDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSchemaDefinition(GraphQLParser.SchemaDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.SchemaDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSchemaExtension(GraphQLParser.SchemaExtensionContext)
Visit a parse tree produced by schemaExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSchemaExtension(GraphQLParser.SchemaExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.SchemaExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSelection(GraphQLParser.SelectionContext)
Visit a parse tree produced by selection().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSelection(GraphQLParser.SelectionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.SelectionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSelectionSet(GraphQLParser.SelectionSetContext)
Visit a parse tree produced by selectionSet().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitSelectionSet(GraphQLParser.SelectionSetContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.SelectionSetContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStringValue(GraphQLParser.StringValueContext)
Visit a parse tree produced by stringValue().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitStringValue(GraphQLParser.StringValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.StringValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitType_(GraphQLParser.Type_Context)
Visit a parse tree produced by type_().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitType_(GraphQLParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.Type_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeCondition(GraphQLParser.TypeConditionContext)
Visit a parse tree produced by typeCondition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeCondition(GraphQLParser.TypeConditionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeConditionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeDefinition(GraphQLParser.TypeDefinitionContext)
Visit a parse tree produced by typeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeDefinition(GraphQLParser.TypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeExtension(GraphQLParser.TypeExtensionContext)
Visit a parse tree produced by typeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeExtension(GraphQLParser.TypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeSystemDefinition(GraphQLParser.TypeSystemDefinitionContext)
Visit a parse tree produced by typeSystemDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeSystemDefinition(GraphQLParser.TypeSystemDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeSystemDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeSystemDirectiveLocation(GraphQLParser.TypeSystemDirectiveLocationContext)
Visit a parse tree produced by typeSystemDirectiveLocation().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeSystemDirectiveLocation(GraphQLParser.TypeSystemDirectiveLocationContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeSystemDirectiveLocationContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTypeSystemExtension(GraphQLParser.TypeSystemExtensionContext)
Visit a parse tree produced by typeSystemExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitTypeSystemExtension(GraphQLParser.TypeSystemExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.TypeSystemExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnionMemberTypes(GraphQLParser.UnionMemberTypesContext)
Visit a parse tree produced by unionMemberTypes().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUnionMemberTypes(GraphQLParser.UnionMemberTypesContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.UnionMemberTypesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnionTypeDefinition(GraphQLParser.UnionTypeDefinitionContext)
Visit a parse tree produced by unionTypeDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUnionTypeDefinition(GraphQLParser.UnionTypeDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.UnionTypeDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnionTypeExtension(GraphQLParser.UnionTypeExtensionContext)
Visit a parse tree produced by unionTypeExtension().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitUnionTypeExtension(GraphQLParser.UnionTypeExtensionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.UnionTypeExtensionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitValue(GraphQLParser.ValueContext)
Visit a parse tree produced by value().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitValue(GraphQLParser.ValueContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.ValueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariable(GraphQLParser.VariableContext)
Visit a parse tree produced by variable().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariable(GraphQLParser.VariableContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.VariableContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDefinition(GraphQLParser.VariableDefinitionContext)
Visit a parse tree produced by variableDefinition().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariableDefinition(GraphQLParser.VariableDefinitionContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.VariableDefinitionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitVariableDefinitions(GraphQLParser.VariableDefinitionsContext)
Visit a parse tree produced by variableDefinitions().
The default implementation returns the result of calling context
.
Declaration
public virtual Result VisitVariableDefinitions(GraphQLParser.VariableDefinitionsContext context)
Parameters
Type | Name | Description |
---|---|---|
GraphQLParser.VariableDefinitionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |