TransformingVisitor class abstract

A Visitor returning the node it is visiting.

Used to implement AST transformers.

When used together with transform you only need to override the visit methods relevant to your transformation. transform will make sure to walk the AST recursively.

Inheritance

Constructors

TransformingVisitor()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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