graphql.language.NodeVisitor Maven / Gradle / Ivy
package graphql.language;
import graphql.PublicApi;
import graphql.util.TraversalControl;
import graphql.util.TraverserContext;
/**
* Used by {@link NodeTraverser} to visit {@link Node}.
*/
@PublicApi
public interface NodeVisitor {
TraversalControl visitArgument(Argument node, TraverserContext data);
TraversalControl visitArrayValue(ArrayValue node, TraverserContext data);
TraversalControl visitBooleanValue(BooleanValue node, TraverserContext data);
TraversalControl visitDirective(Directive node, TraverserContext data);
TraversalControl visitDirectiveDefinition(DirectiveDefinition node, TraverserContext data);
TraversalControl visitDirectiveLocation(DirectiveLocation node, TraverserContext data);
TraversalControl visitDocument(Document node, TraverserContext data);
TraversalControl visitEnumTypeDefinition(EnumTypeDefinition node, TraverserContext data);
TraversalControl visitEnumValue(EnumValue node, TraverserContext data);
TraversalControl visitEnumValueDefinition(EnumValueDefinition node, TraverserContext data);
TraversalControl visitField(Field node, TraverserContext data);
TraversalControl visitFieldDefinition(FieldDefinition node, TraverserContext data);
TraversalControl visitFloatValue(FloatValue node, TraverserContext data);
TraversalControl visitFragmentDefinition(FragmentDefinition node, TraverserContext data);
TraversalControl visitFragmentSpread(FragmentSpread node, TraverserContext data);
TraversalControl visitInlineFragment(InlineFragment node, TraverserContext data);
TraversalControl visitInputObjectTypeDefinition(InputObjectTypeDefinition node, TraverserContext data);
TraversalControl visitInputValueDefinition(InputValueDefinition node, TraverserContext data);
TraversalControl visitIntValue(IntValue node, TraverserContext data);
TraversalControl visitInterfaceTypeDefinition(InterfaceTypeDefinition node, TraverserContext data);
TraversalControl visitListType(ListType node, TraverserContext data);
TraversalControl visitNonNullType(NonNullType node, TraverserContext data);
TraversalControl visitNullValue(NullValue node, TraverserContext data);
TraversalControl visitObjectField(ObjectField node, TraverserContext data);
TraversalControl visitObjectTypeDefinition(ObjectTypeDefinition node, TraverserContext data);
TraversalControl visitObjectValue(ObjectValue node, TraverserContext data);
TraversalControl visitOperationDefinition(OperationDefinition node, TraverserContext data);
TraversalControl visitOperationTypeDefinition(OperationTypeDefinition node, TraverserContext data);
TraversalControl visitScalarTypeDefinition(ScalarTypeDefinition node, TraverserContext data);
TraversalControl visitSchemaDefinition(SchemaDefinition node, TraverserContext data);
TraversalControl visitSelectionSet(SelectionSet node, TraverserContext data);
TraversalControl visitStringValue(StringValue node, TraverserContext data);
TraversalControl visitTypeName(TypeName node, TraverserContext data);
TraversalControl visitUnionTypeDefinition(UnionTypeDefinition node, TraverserContext data);
TraversalControl visitVariableDefinition(VariableDefinition node, TraverserContext data);
TraversalControl visitVariableReference(VariableReference node, TraverserContext data);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy