Uses of Interface
graphql.language.Node
-
Packages that use Node Package Description graphql.analysis graphql.language graphql.parser graphql.schema graphql.schema.idl graphql.schema.idl.errors graphql.validation graphql.validation.rules -
-
Uses of Node in graphql.analysis
Fields in graphql.analysis declared as Node Modifier and Type Field Description private Node
QueryTransformer.Builder. root
private Node
QueryTransformer. root
private Node
QueryTraverser.Builder. root
Fields in graphql.analysis with type parameters of type Node Modifier and Type Field Description private java.util.Collection<? extends Node>
QueryTraverser. roots
private TraverserContext<Node>
QueryVisitorFieldArgumentEnvironmentImpl. traverserContext
private TraverserContext<Node>
QueryVisitorFieldArgumentValueEnvironmentImpl. traverserContext
private TraverserContext<Node>
QueryVisitorFieldEnvironmentImpl. traverserContext
private TraverserContext<Node>
QueryVisitorFragmentDefinitionEnvironmentImpl. traverserContext
private TraverserContext<Node>
QueryVisitorFragmentSpreadEnvironmentImpl. traverserContext
private TraverserContext<Node>
QueryVisitorInlineFragmentEnvironmentImpl. traverserContext
Methods in graphql.analysis that return Node Modifier and Type Method Description Node
QueryTransformer. transform(QueryVisitor queryVisitor)
Visits the Document in pre-order and allows to transform it usingTreeTransformerUtil
methods.Methods in graphql.analysis that return types with arguments of type Node Modifier and Type Method Description private java.util.List<Node>
QueryTraverser. childrenOf(Node<?> node)
TraverserContext<Node>
QueryVisitorFieldArgumentEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorFieldArgumentEnvironmentImpl. getTraverserContext()
TraverserContext<Node>
QueryVisitorFieldArgumentValueEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorFieldArgumentValueEnvironmentImpl. getTraverserContext()
TraverserContext<Node>
QueryVisitorFieldEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorFieldEnvironmentImpl. getTraverserContext()
TraverserContext<Node>
QueryVisitorFragmentDefinitionEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorFragmentDefinitionEnvironmentImpl. getTraverserContext()
TraverserContext<Node>
QueryVisitorFragmentSpreadEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorFragmentSpreadEnvironmentImpl. getTraverserContext()
TraverserContext<Node>
QueryVisitorInlineFragmentEnvironment. getTraverserContext()
TraverserContext<Node>
QueryVisitorInlineFragmentEnvironmentImpl. getTraverserContext()
Methods in graphql.analysis with parameters of type Node Modifier and Type Method Description private java.util.List<Node>
QueryTraverser. childrenOf(Node<?> node)
QueryTransformer.Builder
QueryTransformer.Builder. root(Node root)
Specify the root node for the transformation.QueryTraverser.Builder
QueryTraverser.Builder. root(Node root)
Specify the root node for the traversal.Method parameters in graphql.analysis with type arguments of type Node Modifier and Type Method Description TraversalControl
NodeVisitorWithTypeTracking. visitArgument(Argument argument, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitDirective(Directive node, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitField(Field field, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitFragmentDefinition(FragmentDefinition fragmentDefinition, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitFragmentSpread(FragmentSpread fragmentSpread, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitInlineFragment(InlineFragment inlineFragment, TraverserContext<Node> context)
TraversalControl
NodeVisitorWithTypeTracking. visitObjectField(ObjectField node, TraverserContext<Node> context)
protected TraversalControl
NodeVisitorWithTypeTracking. visitValue(Value<?> value, TraverserContext<Node> context)
Constructors in graphql.analysis with parameters of type Node Constructor Description QueryTransformer(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName, java.util.Map<java.lang.String,java.lang.Object> variables)
QueryTraverser(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName, CoercedVariables coercedVariables)
Constructor parameters in graphql.analysis with type arguments of type Node Constructor Description QueryVisitorFieldArgumentEnvironmentImpl(GraphQLFieldDefinition fieldDefinition, Argument argument, GraphQLArgument graphQLArgument, java.lang.Object argumentValue, java.util.Map<java.lang.String,java.lang.Object> variables, QueryVisitorFieldEnvironment parentEnvironment, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorFieldArgumentValueEnvironmentImpl(GraphQLSchema schema, GraphQLFieldDefinition fieldDefinition, GraphQLArgument graphQLArgument, QueryVisitorFieldArgumentInputValue argumentInputValue, TraverserContext<Node> traverserContext, java.util.Map<java.lang.String,java.lang.Object> variables)
QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField, Field field, GraphQLFieldDefinition fieldDefinition, GraphQLOutputType parentType, GraphQLFieldsContainer unmodifiedParentType, QueryVisitorFieldEnvironment parentEnvironment, java.util.Map<java.lang.String,java.lang.Object> arguments, SelectionSetContainer selectionSetContainer, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorFragmentDefinitionEnvironmentImpl(FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorFragmentSpreadEnvironmentImpl(FragmentSpread fragmentSpread, FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorInlineFragmentEnvironmentImpl(InlineFragment inlineFragment, TraverserContext<Node> traverserContext, GraphQLSchema schema)
-
Uses of Node in graphql.language
Classes in graphql.language with type parameters of type Node Modifier and Type Class Description class
AbstractDescribedNode<T extends Node>
class
AbstractNode<T extends Node>
(package private) static interface
AstPrinter.NodePrinter<T extends Node>
These print nodes into output writersinterface
DescribedNode<T extends Node>
Represents a node that can contain a description.interface
Node<T extends Node>
The base interface for virtually all graphql language elements NOTE: This class implementsSerializable
and hence it can be serialised and placed into a distributed cache.class
NodeParentTree<T extends Node>
This represents a hierarchy from a graphql language node upwards to its associated parent nodes.interface
SelectionSetContainer<T extends Node>
Subinterfaces of Node in graphql.language Modifier and Type Interface Description interface
Definition<T extends Definition>
interface
DescribedNode<T extends Node>
Represents a node that can contain a description.interface
DirectivesContainer<T extends DirectivesContainer>
Represents a language node that can contain Directives.interface
ImplementingTypeDefinition<T extends TypeDefinition>
ATypeDefinition
that might implement interfacesinterface
NamedNode<T extends NamedNode>
Represents a language node that has a nameinterface
ScalarValue<T extends Value>
interface
SDLDefinition<T extends SDLDefinition>
An interface for Schema Definition Language (SDL) definitions.interface
SDLNamedDefinition<T extends SDLNamedDefinition>
A interface for named Schema Definition Language (SDL) definition.interface
Selection<T extends Selection<T>>
interface
SelectionSetContainer<T extends Node>
interface
Type<T extends Type>
interface
TypeDefinition<T extends TypeDefinition>
An interface for type definitions in a Schema Definition Language (SDL).interface
Value<T extends Value>
Fields in graphql.language declared as Node Modifier and Type Field Description private T
NodeParentTree. node
Fields in graphql.language with type parameters of type Node Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<Node>>
NodeChildrenContainer.Builder. children
private java.util.Map<java.lang.String,java.util.List<Node>>
NodeChildrenContainer. children
private java.util.function.Function<? super Node,? extends java.util.List<Node>>
NodeTraverser. getChildren
private java.util.function.Function<? super Node,? extends java.util.List<Node>>
NodeTraverser. getChildren
private java.util.Map<java.lang.Class<? extends Node>,AstPrinter.NodePrinter<? extends Node>>
AstPrinter. printers
private java.util.Map<java.lang.Class<? extends Node>,AstPrinter.NodePrinter<? extends Node>>
AstPrinter. printers
Methods in graphql.language with type parameters of type Node Modifier and Type Method Description (package private) <T extends Node>
AstPrinter.NodePrinter<T>AstPrinter. _findPrinter(Node node)
(package private) <T extends Node>
AstPrinter.NodePrinter<T>AstPrinter. _findPrinter(Node node, java.lang.Class startClass)
private <T extends Node>
java.lang.StringAstPrinter. block(java.util.List<T> nodes)
private <T extends Node>
java.lang.StringPrettyAstPrinter. block(java.util.List<T> nodes, Node parentNode, java.lang.String prefix, java.lang.String suffix, java.lang.String separatorMultiline, java.lang.String separatorSingleLine, java.lang.String whenEmpty)
protected <V extends Node>
java.util.List<V>AbstractNode. deepCopy(java.util.List<? extends Node> list)
protected <V extends Node>
VAbstractNode. deepCopy(V nullableObj)
<T extends Node>
TNodeChildrenContainer. getChildOrNull(java.lang.String key)
<T extends Node>
java.util.List<T>NodeChildrenContainer. getChildren(java.lang.String key)
private <T extends Node>
java.lang.StringAstPrinter. join(java.util.List<T> nodes, java.lang.String delim)
private <T extends Node>
java.lang.StringAstPrinter. join(java.util.List<T> nodes, java.lang.String delim, java.lang.String prefix, java.lang.String suffix)
private <T extends Node>
java.lang.StringPrettyAstPrinter. join(java.util.List<T> nodes, java.lang.String delim)
private <T extends Node>
java.lang.StringPrettyAstPrinter. join(java.util.List<T> nodes, java.lang.String delim, java.lang.String prefix, java.lang.String suffix)
private <T extends Node>
java.lang.StringAstPrinter. joinTight(java.util.List<T> nodes, java.lang.String delim, java.lang.String prefix, java.lang.String suffix)
<T extends Node>
TAstSorter. sort(T nodeToBeSorted)
This will sort nodes in specific orders and then alphabetically.Methods in graphql.language that return Node Modifier and Type Method Description Node
AstNodeAdapter. removeChild(Node node, NodeLocation location)
static Node
NodeUtil. removeChild(Node node, NodeLocation childLocationToRemove)
Node
AstTransformer. transform(Node root, NodeVisitor nodeVisitor)
Transforms the input tree using the Visitor Pattern.Node
AstTransformer. transform(Node root, NodeVisitor nodeVisitor, java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars)
Transforms the input tree using the Visitor Pattern.Node
AstTransformer. transformParallel(Node root, NodeVisitor nodeVisitor)
Node
AstTransformer. transformParallel(Node root, NodeVisitor nodeVisitor, java.util.concurrent.ForkJoinPool forkJoinPool)
Node
AstNodeAdapter. withNewChildren(Node node, java.util.Map<java.lang.String,java.util.List<Node>> newChildren)
Methods in graphql.language that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>
Argument. getChildren()
java.util.List<Node>
ArrayValue. getChildren()
java.util.List<Node>
BooleanValue. getChildren()
java.util.List<Node>
Directive. getChildren()
java.util.List<Node>
DirectiveDefinition. getChildren()
java.util.List<Node>
DirectiveLocation. getChildren()
java.util.List<Node>
Document. getChildren()
java.util.List<Node>
EnumTypeDefinition. getChildren()
java.util.List<Node>
EnumValue. getChildren()
java.util.List<Node>
EnumValueDefinition. getChildren()
java.util.List<Node>
Field. getChildren()
java.util.List<Node>
FieldDefinition. getChildren()
java.util.List<Node>
FloatValue. getChildren()
java.util.List<Node>
FragmentDefinition. getChildren()
java.util.List<Node>
FragmentSpread. getChildren()
java.util.List<Node>
InlineFragment. getChildren()
java.util.List<Node>
InputObjectTypeDefinition. getChildren()
java.util.List<Node>
InputValueDefinition. getChildren()
java.util.List<Node>
InterfaceTypeDefinition. getChildren()
java.util.List<Node>
IntValue. getChildren()
java.util.List<Node>
ListType. getChildren()
java.util.List<Node>
Node. getChildren()
java.util.Map<java.lang.String,java.util.List<Node>>
NodeChildrenContainer. getChildren()
java.util.List<Node>
NonNullType. getChildren()
java.util.List<Node>
NullValue. getChildren()
java.util.List<Node>
ObjectField. getChildren()
java.util.List<Node>
ObjectTypeDefinition. getChildren()
java.util.List<Node>
ObjectValue. getChildren()
java.util.List<Node>
OperationDefinition. getChildren()
java.util.List<Node>
OperationTypeDefinition. getChildren()
java.util.List<Node>
ScalarTypeDefinition. getChildren()
java.util.List<Node>
SchemaDefinition. getChildren()
java.util.List<Node>
SelectionSet. getChildren()
java.util.List<Node>
StringValue. getChildren()
java.util.List<Node>
TypeName. getChildren()
java.util.List<Node>
UnionTypeDefinition. getChildren()
java.util.List<Node>
VariableDefinition. getChildren()
java.util.List<Node>
VariableReference. getChildren()
java.util.Map<java.lang.String,java.util.List<Node>>
AstNodeAdapter. getNamedChildren(Node node)
private TraverserVisitor<Node>
AstTransformer. getNodeTraverserVisitor(NodeVisitor nodeVisitor)
Methods in graphql.language with parameters of type Node Modifier and Type Method Description (package private) <T extends Node>
AstPrinter.NodePrinter<T>AstPrinter. _findPrinter(Node node)
(package private) <T extends Node>
AstPrinter.NodePrinter<T>AstPrinter. _findPrinter(Node node, java.lang.Class startClass)
private <T extends Node>
java.lang.StringPrettyAstPrinter. block(java.util.List<T> nodes, Node parentNode, java.lang.String prefix, java.lang.String suffix, java.lang.String separatorMultiline, java.lang.String separatorSingleLine, java.lang.String whenEmpty)
NodeChildrenContainer.Builder
NodeChildrenContainer.Builder. child(java.lang.String key, Node child)
java.lang.Object
NodeTraverser. depthFirst(NodeVisitor nodeVisitor, Node root)
depthFirst traversal with a enter/leave phase.private java.lang.String
AstPrinter. description(Node<?> node)
private java.lang.String
PrettyAstPrinter. description(Node<?> node)
java.util.Map<java.lang.String,java.util.List<Node>>
AstNodeAdapter. getNamedChildren(Node node)
static boolean
AstComparator. isEqual(Node node1, Node node2)
boolean
Argument. isEqualTo(Node o)
boolean
ArrayValue. isEqualTo(Node o)
boolean
BooleanValue. isEqualTo(Node o)
boolean
Directive. isEqualTo(Node o)
boolean
DirectiveDefinition. isEqualTo(Node o)
boolean
DirectiveLocation. isEqualTo(Node o)
boolean
Document. isEqualTo(Node o)
boolean
EnumTypeDefinition. isEqualTo(Node o)
boolean
EnumValue. isEqualTo(Node o)
boolean
EnumValueDefinition. isEqualTo(Node o)
boolean
Field. isEqualTo(Node o)
boolean
FieldDefinition. isEqualTo(Node o)
boolean
FloatValue. isEqualTo(Node o)
boolean
FragmentDefinition. isEqualTo(Node o)
boolean
FragmentSpread. isEqualTo(Node o)
boolean
InlineFragment. isEqualTo(Node o)
boolean
InputObjectTypeDefinition. isEqualTo(Node o)
boolean
InputValueDefinition. isEqualTo(Node o)
boolean
InterfaceTypeDefinition. isEqualTo(Node o)
boolean
IntValue. isEqualTo(Node o)
boolean
ListType. isEqualTo(Node o)
boolean
Node. isEqualTo(Node node)
Compares just the content and not the children.boolean
NonNullType. isEqualTo(Node o)
boolean
NullValue. isEqualTo(Node o)
boolean
ObjectField. isEqualTo(Node o)
boolean
ObjectTypeDefinition. isEqualTo(Node o)
boolean
ObjectValue. isEqualTo(Node o)
boolean
OperationDefinition. isEqualTo(Node o)
boolean
OperationTypeDefinition. isEqualTo(Node o)
boolean
ScalarTypeDefinition. isEqualTo(Node o)
boolean
SchemaDefinition. isEqualTo(Node o)
boolean
SelectionSet. isEqualTo(Node o)
boolean
StringValue. isEqualTo(Node o)
boolean
TypeName. isEqualTo(Node o)
boolean
UnionTypeDefinition. isEqualTo(Node o)
boolean
VariableDefinition. isEqualTo(Node o)
boolean
VariableReference. isEqualTo(Node o)
private java.lang.String
AstPrinter. node(Node node)
private java.lang.String
AstPrinter. node(Node node, java.lang.Class startClass)
private java.lang.String
PrettyAstPrinter. node(Node node)
private java.lang.String
PrettyAstPrinter. node(Node node, java.lang.Class startClass)
static <T> T
NodeTraverser. oneVisitWithResult(Node node, NodeVisitor nodeVisitor)
private java.lang.String
PrettyAstPrinter. outset(Node<?> node)
java.lang.Object
NodeTraverser. postOrder(NodeVisitor nodeVisitor, Node root)
Version ofNodeTraverser.postOrder(NodeVisitor, Collection)
with one root.java.lang.Object
NodeTraverser. preOrder(NodeVisitor nodeVisitor, Node root)
Version ofNodeTraverser.preOrder(NodeVisitor, Collection)
with one root.java.lang.String
PrettyAstPrinter. print(Node node)
static java.lang.String
AstPrinter. printAst(Node node)
This will pretty print the AST node in graphql language formatstatic void
AstPrinter. printAst(java.io.Writer writer, Node node)
This will pretty print the AST node in graphql language formatstatic java.lang.String
AstPrinter. printAstCompact(Node node)
This will print the Ast node in graphql language format in a compact manner, with no new lines and descriptions stripped out of the text.private static void
AstPrinter. printImpl(java.lang.StringBuilder writer, Node node, boolean compactMode)
Node
AstNodeAdapter. removeChild(Node node, NodeLocation location)
static Node
NodeUtil. removeChild(Node node, NodeLocation childLocationToRemove)
NodeChildrenContainer.Builder
NodeChildrenContainer.Builder. replaceChild(java.lang.String key, int index, Node newChild)
Node
AstTransformer. transform(Node root, NodeVisitor nodeVisitor)
Transforms the input tree using the Visitor Pattern.Node
AstTransformer. transform(Node root, NodeVisitor nodeVisitor, java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars)
Transforms the input tree using the Visitor Pattern.Node
AstTransformer. transformParallel(Node root, NodeVisitor nodeVisitor)
Node
AstTransformer. transformParallel(Node root, NodeVisitor nodeVisitor, java.util.concurrent.ForkJoinPool forkJoinPool)
protected TraversalControl
NodeVisitorStub. visitNode(Node node, TraverserContext<Node> context)
Node
AstNodeAdapter. withNewChildren(Node node, java.util.Map<java.lang.String,java.util.List<Node>> newChildren)
(package private) java.lang.String
AstPrinter. wrap(java.lang.String start, Node maybeNode, java.lang.String end)
Constructor parameters in graphql.language with type arguments of type Node Constructor Description NodeChildrenContainer(java.util.Map<java.lang.String,java.util.List<Node>> children)
NodeTraverser(java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars, java.util.function.Function<? super Node,? extends java.util.List<Node>> getChildren)
NodeTraverser(java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars, java.util.function.Function<? super Node,? extends java.util.List<Node>> getChildren)
-
Uses of Node in graphql.parser
Fields in graphql.parser with type parameters of type Node Modifier and Type Field Description private java.util.Map<Node<?>,org.antlr.v4.runtime.ParserRuleContext>
CommentParser. nodeToRuleMap
private java.util.Map<Node<?>,org.antlr.v4.runtime.ParserRuleContext>
GraphqlAntlrToLanguage. nodeToRuleMap
private java.util.Map<Node<?>,org.antlr.v4.runtime.ParserRuleContext>
NodeToRuleCapturingParser.ParserContext. nodeToRuleMap
Methods in graphql.parser with type parameters of type Node Modifier and Type Method Description private <T extends Node<?>>
TGraphqlAntlrToLanguage. captureRuleContext(T node, org.antlr.v4.runtime.ParserRuleContext ctx)
Methods in graphql.parser that return Node Modifier and Type Method Description private Node<?>
Parser. parseImpl(ParserEnvironment environment, java.util.function.BiFunction<GraphqlParser,GraphqlAntlrToLanguage,java.lang.Object[]> nodeFunction)
Methods in graphql.parser that return types with arguments of type Node Modifier and Type Method Description protected java.util.Map<Node<?>,org.antlr.v4.runtime.ParserRuleContext>
NodeToRuleCapturingParser.ParserContext. getNodeToRuleMap()
Methods in graphql.parser with parameters of type Node Modifier and Type Method Description java.util.Optional<Comment>
CommentParser. getBeginningOfBlockComment(Node<?> node, java.lang.String prefix)
java.util.List<Comment>
CommentParser. getCommentsAfterDescription(Node<?> node)
java.util.List<Comment>
CommentParser. getEndOfBlockComments(Node<?> node, java.lang.String blockSuffix)
java.util.List<Comment>
CommentParser. getLeadingComments(Node<?> node)
java.util.Optional<Comment>
CommentParser. getTrailingComment(Node<?> node)
Constructor parameters in graphql.parser with type arguments of type Node Constructor Description GraphqlAntlrToLanguage(org.antlr.v4.runtime.CommonTokenStream tokens, MultiSourceReader multiSourceReader, ParserOptions parserOptions, I18n i18N, @Nullable java.util.Map<Node<?>,org.antlr.v4.runtime.ParserRuleContext> nodeToRuleMap)
-
Uses of Node in graphql.schema
Methods in graphql.schema that return Node Modifier and Type Method Description @Nullable Node
GraphQLNamedSchemaElement. getDefinition()
The ASTNode
this schema element is based on.Node
GraphQLTypeReference. getDefinition()
-
Uses of Node in graphql.schema.idl
Fields in graphql.schema.idl declared as Node Modifier and Type Field Description private Node<?>
ArgValueOfAllowedTypeChecker. element
Methods in graphql.schema.idl with parameters of type Node Modifier and Type Method Description (package private) static java.lang.String
SchemaGeneratorHelper. buildDescription(SchemaGeneratorHelper.BuildContext buildContext, Node<?> node, Description description)
private void
SchemaTypeDirectivesChecker. checkDirectiveArguments(java.util.List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node element, java.lang.String elementName, Directive directive, DirectiveDefinition directiveDefinition)
private void
SchemaTypeDirectivesChecker. checkDirectives(Introspection.DirectiveLocation expectedLocation, java.util.List<GraphQLError> errors, TypeDefinitionRegistry typeRegistry, Node<?> element, java.lang.String elementName, java.util.List<Directive> directives)
private java.util.function.Consumer<Type>
SchemaTypeChecker. checkTypeExists(TypeDefinitionRegistry typeRegistry, java.util.List<GraphQLError> errors, java.lang.String typeOfType, Node element, java.lang.String elementName)
Constructors in graphql.schema.idl with parameters of type Node Constructor Description ArgValueOfAllowedTypeChecker(Directive directive, Node<?> element, java.lang.String elementName, Argument argument, TypeDefinitionRegistry typeRegistry, RuntimeWiring runtimeWiring)
-
Uses of Node in graphql.schema.idl.errors
Fields in graphql.schema.idl.errors declared as Node Modifier and Type Field Description private Node
BaseError. node
Methods in graphql.schema.idl.errors with parameters of type Node Modifier and Type Method Description static java.lang.String
BaseError. lineCol(Node node)
(package private) static java.lang.String
DirectiveIllegalArgumentTypeError. mkDirectiveIllegalArgumentTypeErrorMessage(Node element, java.lang.String elementName, java.lang.String directiveName, java.lang.String argumentName, java.lang.String detailedMessage)
Constructors in graphql.schema.idl.errors with parameters of type Node Constructor Description BaseError(Node node, java.lang.String msg)
DirectiveIllegalArgumentTypeError(Node element, java.lang.String elementName, java.lang.String directiveName, java.lang.String argumentName, java.lang.String detailedMessaged)
DirectiveIllegalLocationError(Node element, java.lang.String elementName, java.lang.String directiveName, java.lang.String locationName)
DirectiveMissingNonNullArgumentError(Node element, java.lang.String elementName, java.lang.String directiveName, java.lang.String argumentName)
DirectiveUndeclaredError(Node element, java.lang.String elementName, java.lang.String directiveName)
DirectiveUnknownArgumentError(Node element, java.lang.String elementName, java.lang.String directiveName, java.lang.String argumentName)
MissingTypeError(java.lang.String typeOfType, Node node, java.lang.String name)
MissingTypeError(java.lang.String typeOfType, Node node, java.lang.String name, TypeName typeName)
UnionTypeError(Node node, java.lang.String msg)
-
Uses of Node in graphql.validation
Fields in graphql.validation with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>
LanguageTraversal. path
Methods in graphql.validation with parameters of type Node Modifier and Type Method Description void
DocumentVisitor. enter(Node node, java.util.List<Node> path)
void
RulesVisitor. enter(Node node, java.util.List<Node> ancestors)
void
TraversalContext. enter(Node node, java.util.List<Node> path)
void
DocumentVisitor. leave(Node node, java.util.List<Node> path)
void
RulesVisitor. leave(Node node, java.util.List<Node> ancestors)
void
TraversalContext. leave(Node node, java.util.List<Node> ancestors)
void
LanguageTraversal. traverse(Node root, DocumentVisitor documentVisitor)
private void
LanguageTraversal. traverseImpl(Node<?> root, DocumentVisitor documentVisitor, java.util.List<Node> path)
Method parameters in graphql.validation with type arguments of type Node Modifier and Type Method Description void
AbstractRule. addError(ValidationErrorType validationErrorType, java.util.Collection<? extends Node<?>> locations, java.lang.String description)
void
AbstractRule. checkDirective(Directive directive, java.util.List<Node> ancestors)
private void
RulesVisitor. checkDirective(Directive node, java.util.List<Node> ancestors)
private void
RulesVisitor. checkFragmentSpread(FragmentSpread node, java.util.List<Node> ancestors)
void
DocumentVisitor. enter(Node node, java.util.List<Node> path)
void
RulesVisitor. enter(Node node, java.util.List<Node> ancestors)
void
TraversalContext. enter(Node node, java.util.List<Node> path)
void
DocumentVisitor. leave(Node node, java.util.List<Node> path)
void
RulesVisitor. leave(Node node, java.util.List<Node> ancestors)
void
TraversalContext. leave(Node node, java.util.List<Node> ancestors)
private void
LanguageTraversal. traverseImpl(Node<?> root, DocumentVisitor documentVisitor, java.util.List<Node> path)
Constructor parameters in graphql.validation with type arguments of type Node Constructor Description LanguageTraversal(java.util.List<Node> basePath)
-
Uses of Node in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type Node Modifier and Type Method Description private void
UniqueDirectiveNamesPerLocation. checkDirectivesUniqueness(Node<?> directivesContainer, java.util.List<Directive> directives)
private boolean
KnownDirectives. hasInvalidLocation(GraphQLDirective directive, Node ancestor)
Method parameters in graphql.validation.rules with type arguments of type Node Modifier and Type Method Description void
KnownDirectives. checkDirective(Directive directive, java.util.List<Node> ancestors)
void
ProvidedNonNullArguments. checkDirective(Directive directive, java.util.List<Node> ancestors)
void
UniqueArgumentNames. checkDirective(Directive directive, java.util.List<Node> ancestors)
-