public class ChildrenOfSelectionProvider extends NodeVisitorStub
instanceof
check.Constructor and Description |
---|
ChildrenOfSelectionProvider(java.util.Map<java.lang.String,FragmentDefinition> fragmentDefinitionMap) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
getSelections(Selection selection) |
TraversalControl |
visitField(Field node,
TraverserContext<Node> context) |
TraversalControl |
visitFragmentSpread(FragmentSpread fragmentSpread,
TraverserContext<Node> context) |
TraversalControl |
visitInlineFragment(InlineFragment node,
TraverserContext<Node> context) |
TraversalControl |
visitSelectionSet(SelectionSet node,
TraverserContext<Node> context) |
visitArgument, visitArrayValue, visitBooleanValue, visitDefinition, visitDirective, visitDirectiveDefinition, visitDirectiveLocation, visitDocument, visitEnumTypeDefinition, visitEnumValue, visitEnumValueDefinition, visitFieldDefinition, visitFloatValue, visitFragmentDefinition, visitInputObjectTypeDefinition, visitInputValueDefinition, visitInterfaceTypeDefinition, visitIntValue, visitListType, visitNode, visitNonNullType, visitNullValue, visitObjectField, visitObjectTypeDefinition, visitObjectValue, visitOperationDefinition, visitOperationTypeDefinition, visitScalarTypeDefinition, visitSchemaDefinition, visitSelection, visitStringValue, visitType, visitTypeDefinition, visitTypeName, visitUnionTypeDefinition, visitValue, visitVariableDefinition, visitVariableReference
public ChildrenOfSelectionProvider(java.util.Map<java.lang.String,FragmentDefinition> fragmentDefinitionMap)
public TraversalControl visitInlineFragment(InlineFragment node, TraverserContext<Node> context)
visitInlineFragment
in interface NodeVisitor
visitInlineFragment
in class NodeVisitorStub
public TraversalControl visitFragmentSpread(FragmentSpread fragmentSpread, TraverserContext<Node> context)
visitFragmentSpread
in interface NodeVisitor
visitFragmentSpread
in class NodeVisitorStub
public TraversalControl visitField(Field node, TraverserContext<Node> context)
visitField
in interface NodeVisitor
visitField
in class NodeVisitorStub
public TraversalControl visitSelectionSet(SelectionSet node, TraverserContext<Node> context)
visitSelectionSet
in interface NodeVisitor
visitSelectionSet
in class NodeVisitorStub