RecursiveVisitor class

A recursive Visitor calling Node.visitChildren to make sure every node is visited.

When extending any of the visit methods you are responsible for calling the same visit method on super to make sure the whole AST is visited.

Implemented types
Implementers

Constructors

RecursiveVisitor()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
visitArgumentNode(ArgumentNode node) → void
Visit ArgumentNode.
override
visitBooleanValueNode(BooleanValueNode node) → void
Visit BooleanValueNode.
override
visitDefaultValueNode(DefaultValueNode node) → void
Visit DefaultValueNode.
override
visitDirectiveDefinitionNode(DirectiveDefinitionNode node) → void
Visit DirectiveDefinitionNode.
override
visitDirectiveNode(DirectiveNode node) → void
Visit DirectiveNode.
override
visitDocumentNode(DocumentNode node) → void
Visit DocumentNode.
override
visitEnumTypeDefinitionNode(EnumTypeDefinitionNode node) → void
Visit EnumTypeDefinitionNode.
override
visitEnumTypeExtensionNode(EnumTypeExtensionNode node) → void
Visit EnumTypeExtensionNode.
override
visitEnumValueDefinitionNode(EnumValueDefinitionNode node) → void
Visit EnumValueDefinitionNode.
override
visitEnumValueNode(EnumValueNode node) → void
Visit EnumValueNode.
override
visitFieldDefinitionNode(FieldDefinitionNode node) → void
Visit FieldDefinitionNode.
override
visitFieldNode(FieldNode node) → void
Visit FieldNode.
override
visitFloatValueNode(FloatValueNode node) → void
Visit FloatValueNode.
override
visitFragmentDefinitionNode(FragmentDefinitionNode node) → void
Visit FragmentDefinitionNode.
override
visitFragmentSpreadNode(FragmentSpreadNode node) → void
Visit FragmentSpreadNode.
override
visitInlineFragmentNode(InlineFragmentNode node) → void
Visit InlineFragmentNode.
override
visitInputObjectTypeDefinitionNode(InputObjectTypeDefinitionNode node) → void
Visit InputObjectTypeDefinitionNode.
override
visitInputObjectTypeExtensionNode(InputObjectTypeExtensionNode node) → void
Visit InputObjectTypeExtensionNode.
override
visitInputValueDefinitionNode(InputValueDefinitionNode node) → void
Visit InputValueDefinitionNode.
override
visitInterfaceTypeDefinitionNode(InterfaceTypeDefinitionNode node) → void
Visit InterfaceTypeDefinitionNode.
override
visitInterfaceTypeExtensionNode(InterfaceTypeExtensionNode node) → void
Visit InterfaceTypeExtensionNode.
override
visitIntValueNode(IntValueNode node) → void
Visit IntValueNode.
override
visitListTypeNode(ListTypeNode node) → void
Visit ListTypeNode.
override
visitListValueNode(ListValueNode node) → void
Visit ListValueNode.
override
visitNamedTypeNode(NamedTypeNode node) → void
Visit NamedTypeNode.
override
visitNameNode(NameNode node) → void
Visit NameNode.
override
visitNullValueNode(NullValueNode node) → void
Visit NullValueNode.
override
visitObjectFieldNode(ObjectFieldNode node) → void
Visit ObjectFieldNode.
override
visitObjectTypeDefinitionNode(ObjectTypeDefinitionNode node) → void
Visit ObjectTypeDefinitionNode.
override
visitObjectTypeExtensionNode(ObjectTypeExtensionNode node) → void
Visit ObjectTypeExtensionNode.
override
visitObjectValueNode(ObjectValueNode node) → void
Visit ObjectValueNode.
override
visitOperationDefinitionNode(OperationDefinitionNode node) → void
Visit OperationDefinitionNode.
override
visitOperationTypeDefinitionNode(OperationTypeDefinitionNode node) → void
Visit OperationTypeDefinitionNode.
override
visitScalarTypeDefinitionNode(ScalarTypeDefinitionNode node) → void
Visit ScalarTypeDefinitionNode.
override
visitScalarTypeExtensionNode(ScalarTypeExtensionNode node) → void
Visit ScalarTypeExtensionNode.
override
visitSchemaDefinitionNode(SchemaDefinitionNode node) → void
Visit SchemaDefinitionNode.
override
visitSchemaExtensionNode(SchemaExtensionNode node) → void
Visit SchemaExtensionNode.
override
visitSelectionSetNode(SelectionSetNode node) → void
Visit SelectionSetNode.
override
visitStringValueNode(StringValueNode node) → void
Visit StringValueNode.
override
visitTypeConditionNode(TypeConditionNode node) → void
Visit TypeConditionNode.
override
visitUnionTypeDefinitionNode(UnionTypeDefinitionNode node) → void
Visit UnionTypeDefinitionNode.
override
visitUnionTypeExtensionNode(UnionTypeExtensionNode node) → void
Visit UnionTypeExtensionNode.
override
visitVariableDefinitionNode(VariableDefinitionNode node) → void
Visit VariableDefinitionNode.
override
visitVariableNode(VariableNode node) → void
Visit VariableNode.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited