public class TraversalContext extends java.lang.Object implements DocumentVisitor
Constructor and Description |
---|
TraversalContext(GraphQLSchema graphQLSchema) |
Modifier and Type | Method and Description |
---|---|
void |
enter(Node node,
java.util.List<Node> path) |
GraphQLArgument |
getArgument() |
GraphQLDirective |
getDirective() |
GraphQLFieldDefinition |
getFieldDef() |
GraphQLInputType |
getInputType() |
GraphQLOutputType |
getOutputType() |
GraphQLCompositeType |
getParentType() |
java.util.List<java.lang.String> |
getQueryPath() |
void |
leave(Node node,
java.util.List<Node> ancestors) |
public TraversalContext(GraphQLSchema graphQLSchema)
public void enter(Node node, java.util.List<Node> path)
enter
in interface DocumentVisitor
public void leave(Node node, java.util.List<Node> ancestors)
leave
in interface DocumentVisitor
public GraphQLOutputType getOutputType()
public GraphQLCompositeType getParentType()
public GraphQLInputType getInputType()
public GraphQLFieldDefinition getFieldDef()
public java.util.List<java.lang.String> getQueryPath()
public GraphQLDirective getDirective()
public GraphQLArgument getArgument()