Documentation ¶
Index ¶
- type ArgumentSetIterable
- type ArgumentsIterable
- type DirectiveIterable
- type DirectiveSetIterable
- type EnumValueDefinitionIterator
- type FieldsIterable
- type FieldsIterator
- type FragmentDefinitionIterable
- type FragmentSpreadIterable
- type InlineFragmentIterable
- type InputValueDefinitionIterator
- type Iterable
- type Lookup
- func (l *Lookup) Argument(i int) document.Argument
- func (l *Lookup) ArgumentByIndexAndName(index []int, name int) (document.Argument, bool)
- func (l *Lookup) ArgumentSet(ref int) document.ArgumentSet
- func (l *Lookup) ArgumentsAreEqual(first []int, second []int) bool
- func (l *Lookup) ArgumentsDefinition(i int) document.ArgumentsDefinition
- func (l *Lookup) ArgumentsIterable(refs []int) ArgumentsIterable
- func (l *Lookup) ByteSlice(reference document.ByteSliceReference) document.ByteSlice
- func (l *Lookup) CachedName(i int) document.ByteSlice
- func (l *Lookup) Directive(i int) document.Directive
- func (l *Lookup) DirectiveDefinitionByName(name int) (document.DirectiveDefinition, bool)
- func (l *Lookup) DirectiveIterable(refs []int) DirectiveIterable
- func (l *Lookup) DirectiveLocationFromNode(node Node) document.DirectiveLocation
- func (l *Lookup) DirectiveSet(ref int) document.DirectiveSet
- func (l *Lookup) EnumTypeDefinitionByName(name int) (document.EnumTypeDefinition, bool)
- func (l *Lookup) EnumTypeDefinitionContainsValue(definition document.EnumTypeDefinition, enumValue int) bool
- func (l *Lookup) EnumValueDefinitionIterator(refs []int) EnumValueDefinitionIterator
- func (l Lookup) Field(i int) document.Field
- func (l *Lookup) FieldDefinitionByNameFromIndex(index []int, name int) (document.FieldDefinition, bool)
- func (l *Lookup) FieldNamesAndAliasesAreEqual(left, right document.Field) bool
- func (l *Lookup) FieldResponseNamesAreEqual(left, right document.Field) bool
- func (l *Lookup) FieldSelectionsArePossible(onTypeName int, selections document.SelectionSet) bool
- func (l *Lookup) FieldType(typeName int, fieldName int) (document.Type, bool)
- func (l *Lookup) FieldsDeepEqual(left, right document.Field) bool
- func (l *Lookup) FieldsDefinitionFromNamedType(name int) (fields []int)
- func (l *Lookup) FieldsIterator(i []int) FieldsIterator
- func (l *Lookup) FragmentDefinition(i int) document.FragmentDefinition
- func (l *Lookup) FragmentDefinitionByName(name int) (definition document.FragmentDefinition, index int, valid bool)
- func (l *Lookup) FragmentDefinitions() document.FragmentDefinitions
- func (l *Lookup) FragmentSelectionsArePossible(onTypeName int, selections document.SelectionSet) bool
- func (l *Lookup) FragmentSpread(i int) document.FragmentSpread
- func (l *Lookup) FragmentSpreadIterable(refs []int) FragmentSpreadIterable
- func (l *Lookup) FragmentSpreads() document.FragmentSpreads
- func (l *Lookup) FragmentSpreadsDeepEqual(left, right document.FragmentSpread) bool
- func (l *Lookup) FragmentSpreadsRootNumFields(spreadRefs []int) (amount int)
- func (l *Lookup) HasFragmentDefinitions() bool
- func (l *Lookup) HasOperationDefinitions() bool
- func (l *Lookup) InlineFragment(i int) document.InlineFragment
- func (l *Lookup) InlineFragmentIterable(refs []int) InlineFragmentIterable
- func (l *Lookup) InlineFragmentRootNumFields(inlineFragmentRefs []int) (amount int)
- func (l *Lookup) InlineFragmentsDeepEqual(left, right document.InlineFragment) bool
- func (l *Lookup) InputObjectTypeDefinitionByName(name int) (document.InputObjectTypeDefinition, bool)
- func (l *Lookup) InputValueDefinitionByNameAndIndex(name int, i []int) (document.InputValueDefinition, bool)
- func (l *Lookup) InputValueDefinitionHasDefaultValue(definition document.InputValueDefinition) bool
- func (l *Lookup) InputValueDefinitionIsRequired(inputValue document.InputValueDefinition) bool
- func (l *Lookup) InputValueDefinitionIterator(refs []int) InputValueDefinitionIterator
- func (l *Lookup) IntegersContainsMember(integers []int, possibleMember int) bool
- func (l *Lookup) InterfaceTypeDefinitionByName(name int) (document.InterfaceTypeDefinition, bool)
- func (l *Lookup) IsFragmentDefinitionUsedInOperation(name int) bool
- func (l *Lookup) IsLeafNode(typeName int) bool
- func (l *Lookup) IsUniqueFragmentName(fragmentIndex int, name int) bool
- func (l *Lookup) ListValue(ref int) document.ListValue
- func (l *Lookup) MutationObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
- func (l *Lookup) ObjectField(i int) document.ObjectField
- func (l *Lookup) ObjectFieldByIndexAndName(index []int, name int) (document.ObjectField, bool)
- func (l *Lookup) ObjectFieldsIterator(refs []int) ObjectFieldsIterator
- func (l *Lookup) ObjectTypeDefinitionByName(name int) (definition document.ObjectTypeDefinition, exists bool)
- func (l *Lookup) ObjectTypeDefinitionImplementsInterface(definition document.ObjectTypeDefinition, interfaceName int) bool
- func (l *Lookup) ObjectValue(ref int) document.ObjectValue
- func (l *Lookup) OperationDefinition(i int) document.OperationDefinition
- func (l *Lookup) OperationDefinitions() document.OperationDefinitions
- func (l *Lookup) OperationTypeName(definition document.OperationDefinition) int
- func (l *Lookup) PossibleSelectionTypes(typeName int, possibleTypeNames *[]int)
- func (l *Lookup) QueryObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
- func (l *Lookup) ResetPool()
- func (l *Lookup) ScalarTypeDefinitionByName(name int) (document.ScalarTypeDefinition, bool)
- func (l *Lookup) SelectionSet(ref int) document.SelectionSet
- func (l *Lookup) SelectionSetCollectedFields(set document.SelectionSet, setTypeName int) SelectionSetFieldsIterator
- func (l *Lookup) SelectionSetContainsFragmentSpread(set document.SelectionSet, spreadIndex int) bool
- func (l *Lookup) SelectionSetContentsIterator(ref int) SelectionSetContentsIterator
- func (l *Lookup) SelectionSetDeepEqual(left, right document.SelectionSet) bool
- func (l *Lookup) SelectionSetDifferingSelectionSetIterator(set document.SelectionSet, ignoreTypeName int) SelectionSetDifferingSelectionSetIterator
- func (l *Lookup) SelectionSetHasSelections(set document.SelectionSet) bool
- func (l *Lookup) SelectionSetNumRootFields(set document.SelectionSet) int
- func (l *Lookup) SelectionSetsAreOfSameResponseShape(leftSet, rightSet TypedSet) bool
- func (l *Lookup) SetParser(p *parser.Parser)
- func (l *Lookup) SubscriptionObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
- func (l *Lookup) Type(i int) document.Type
- func (l *Lookup) TypeIsScalarOrEnum(name int) bool
- func (l *Lookup) TypeIsValidFragmentTypeCondition(name int) bool
- func (l *Lookup) TypeSatisfiesTypeSystemType(typeSystemTypeDefinition document.Type, executableTypeDefinition document.Type) bool
- func (l *Lookup) TypesAreEqual(left, right document.Type) bool
- func (l *Lookup) UnionTypeDefinitionByName(name int) (document.UnionTypeDefinition, bool)
- func (l *Lookup) UnionTypeDefinitionContainsType(definition document.UnionTypeDefinition, typeName int) bool
- func (l *Lookup) UnionTypeDefinitionNamesContainingMember(memberName int, nameRefs *[]int)
- func (l *Lookup) UnwrappedNamedType(docType document.Type) document.Type
- func (l *Lookup) Value(i int) document.Value
- func (l *Lookup) ValueIsValid(value document.Value, typeSystemType document.Type, ...) bool
- func (l *Lookup) ValueListsAreEqual(first, second int) bool
- func (l *Lookup) ValueObjectsAreEqual(first, second int) bool
- func (l *Lookup) ValuesAreEqual(first, second int) bool
- func (l *Lookup) VariableDefinition(variableName int, variableDefinitionRefs []int) (document.VariableDefinition, bool)
- func (l *Lookup) VariableDefinitionIterator(refs []int) VariableDefinitionsIterator
- type Node
- type NodeKind
- type NodeUsageInOperationsIterator
- type ObjectFieldsIterator
- type OperationDefinitionIterable
- type SelectionSetContentsIterator
- type SelectionSetDifferingSelectionSetIterator
- type SelectionSetFieldsIterator
- type SelectionSetIterable
- type TypedSet
- type VariableDefinitionsIterator
- type Walker
- func (w *Walker) ArgumentSetIterable() ArgumentSetIterable
- func (w *Walker) ArgumentsDefinition(parent int) document.ArgumentsDefinition
- func (w *Walker) DirectiveSetIterable() DirectiveSetIterable
- func (w *Walker) FieldsIterable() FieldsIterable
- func (w *Walker) FragmentDefinitionIterable() FragmentDefinitionIterable
- func (w *Walker) FragmentUsageInOperations(fragmentName int, refs *[]int)
- func (w *Walker) Node(ref int) Node
- func (w *Walker) NodeUsageInOperationsIterator(ref int) (iter NodeUsageInOperationsIterator)
- func (w *Walker) OperationDefinitionIterable() OperationDefinitionIterable
- func (w *Walker) Parent(i int) (Node, bool)
- func (w *Walker) ParentEquals(parent int, kind NodeKind) (Node, bool)
- func (w *Walker) RootNode(ref int) (node Node, ok bool)
- func (w *Walker) SelectionSetIterable() SelectionSetIterable
- func (w *Walker) SelectionSetTypeName(set document.SelectionSet, parent int) int
- func (w *Walker) SetLookup(l *Lookup)
- func (w *Walker) WalkExecutable()
- func (w *Walker) WalkUpUntilTypeName(from Node, fieldPath *[]int) (typeName int, node Node)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentSetIterable ¶
type ArgumentSetIterable struct {
Iterable
}
func (*ArgumentSetIterable) Value ¶
func (a *ArgumentSetIterable) Value() (argumentSet document.ArgumentSet, parent int)
type ArgumentsIterable ¶
type ArgumentsIterable struct {
// contains filtered or unexported fields
}
func (*ArgumentsIterable) Next ¶
func (a *ArgumentsIterable) Next() bool
type DirectiveIterable ¶
type DirectiveIterable struct {
// contains filtered or unexported fields
}
func (*DirectiveIterable) Next ¶
func (d *DirectiveIterable) Next() bool
type DirectiveSetIterable ¶
type DirectiveSetIterable struct {
Iterable
}
func (*DirectiveSetIterable) Value ¶
func (d *DirectiveSetIterable) Value() (set document.DirectiveSet, parent int)
type EnumValueDefinitionIterator ¶
type EnumValueDefinitionIterator struct {
// contains filtered or unexported fields
}
func (*EnumValueDefinitionIterator) Next ¶
func (e *EnumValueDefinitionIterator) Next() bool
func (*EnumValueDefinitionIterator) Value ¶
func (e *EnumValueDefinitionIterator) Value() (definition document.EnumValueDefinition, ref int)
type FieldsIterable ¶
type FieldsIterable struct {
Iterable
}
type FieldsIterator ¶
type FieldsIterator struct {
// contains filtered or unexported fields
}
func (*FieldsIterator) Next ¶
func (f *FieldsIterator) Next() bool
type FragmentDefinitionIterable ¶ added in v1.0.1
type FragmentDefinitionIterable struct {
Iterable
}
func (*FragmentDefinitionIterable) Value ¶ added in v1.0.1
func (f *FragmentDefinitionIterable) Value() document.FragmentDefinition
type FragmentSpreadIterable ¶
type FragmentSpreadIterable struct {
// contains filtered or unexported fields
}
func (*FragmentSpreadIterable) Next ¶
func (f *FragmentSpreadIterable) Next() bool
func (*FragmentSpreadIterable) Value ¶
func (f *FragmentSpreadIterable) Value() (spread document.FragmentSpread, ref int)
type InlineFragmentIterable ¶
type InlineFragmentIterable struct {
// contains filtered or unexported fields
}
func (*InlineFragmentIterable) Next ¶
func (i *InlineFragmentIterable) Next() bool
func (*InlineFragmentIterable) Value ¶
func (i *InlineFragmentIterable) Value() (inlineFragment document.InlineFragment, ref int)
type InputValueDefinitionIterator ¶
type InputValueDefinitionIterator struct {
// contains filtered or unexported fields
}
func (*InputValueDefinitionIterator) Next ¶
func (i *InputValueDefinitionIterator) Next() bool
func (*InputValueDefinitionIterator) Value ¶
func (i *InputValueDefinitionIterator) Value() (definition document.InputValueDefinition, ref int)
type Lookup ¶
type Lookup struct {
// contains filtered or unexported fields
}
Lookup is a helper to easily look things up in a parsed definition
func (*Lookup) ArgumentByIndexAndName ¶
func (*Lookup) ArgumentSet ¶
func (l *Lookup) ArgumentSet(ref int) document.ArgumentSet
func (*Lookup) ArgumentsAreEqual ¶
func (*Lookup) ArgumentsDefinition ¶
func (l *Lookup) ArgumentsDefinition(i int) document.ArgumentsDefinition
func (*Lookup) ArgumentsIterable ¶
func (l *Lookup) ArgumentsIterable(refs []int) ArgumentsIterable
func (*Lookup) ByteSlice ¶
func (l *Lookup) ByteSlice(reference document.ByteSliceReference) document.ByteSlice
func (*Lookup) DirectiveDefinitionByName ¶
func (l *Lookup) DirectiveDefinitionByName(name int) (document.DirectiveDefinition, bool)
func (*Lookup) DirectiveIterable ¶
func (l *Lookup) DirectiveIterable(refs []int) DirectiveIterable
func (*Lookup) DirectiveLocationFromNode ¶
func (l *Lookup) DirectiveLocationFromNode(node Node) document.DirectiveLocation
func (*Lookup) DirectiveSet ¶
func (l *Lookup) DirectiveSet(ref int) document.DirectiveSet
func (*Lookup) EnumTypeDefinitionByName ¶
func (l *Lookup) EnumTypeDefinitionByName(name int) (document.EnumTypeDefinition, bool)
func (*Lookup) EnumTypeDefinitionContainsValue ¶
func (l *Lookup) EnumTypeDefinitionContainsValue(definition document.EnumTypeDefinition, enumValue int) bool
func (*Lookup) EnumValueDefinitionIterator ¶
func (l *Lookup) EnumValueDefinitionIterator(refs []int) EnumValueDefinitionIterator
func (*Lookup) FieldDefinitionByNameFromIndex ¶
func (*Lookup) FieldNamesAndAliasesAreEqual ¶
func (*Lookup) FieldResponseNamesAreEqual ¶
func (*Lookup) FieldSelectionsArePossible ¶
func (l *Lookup) FieldSelectionsArePossible(onTypeName int, selections document.SelectionSet) bool
func (*Lookup) FieldsDefinitionFromNamedType ¶
func (*Lookup) FieldsIterator ¶
func (l *Lookup) FieldsIterator(i []int) FieldsIterator
func (*Lookup) FragmentDefinition ¶
func (l *Lookup) FragmentDefinition(i int) document.FragmentDefinition
func (*Lookup) FragmentDefinitionByName ¶
func (*Lookup) FragmentDefinitions ¶
func (l *Lookup) FragmentDefinitions() document.FragmentDefinitions
func (*Lookup) FragmentSelectionsArePossible ¶
func (l *Lookup) FragmentSelectionsArePossible(onTypeName int, selections document.SelectionSet) bool
func (*Lookup) FragmentSpread ¶
func (l *Lookup) FragmentSpread(i int) document.FragmentSpread
func (*Lookup) FragmentSpreadIterable ¶
func (l *Lookup) FragmentSpreadIterable(refs []int) FragmentSpreadIterable
func (*Lookup) FragmentSpreads ¶
func (l *Lookup) FragmentSpreads() document.FragmentSpreads
func (*Lookup) FragmentSpreadsDeepEqual ¶
func (l *Lookup) FragmentSpreadsDeepEqual(left, right document.FragmentSpread) bool
func (*Lookup) FragmentSpreadsRootNumFields ¶
func (*Lookup) HasFragmentDefinitions ¶ added in v1.0.1
func (*Lookup) HasOperationDefinitions ¶ added in v1.0.1
func (*Lookup) InlineFragment ¶
func (l *Lookup) InlineFragment(i int) document.InlineFragment
func (*Lookup) InlineFragmentIterable ¶
func (l *Lookup) InlineFragmentIterable(refs []int) InlineFragmentIterable
func (*Lookup) InlineFragmentRootNumFields ¶
func (*Lookup) InlineFragmentsDeepEqual ¶
func (l *Lookup) InlineFragmentsDeepEqual(left, right document.InlineFragment) bool
TODO: add directives
func (*Lookup) InputObjectTypeDefinitionByName ¶
func (l *Lookup) InputObjectTypeDefinitionByName(name int) (document.InputObjectTypeDefinition, bool)
func (*Lookup) InputValueDefinitionByNameAndIndex ¶
func (*Lookup) InputValueDefinitionHasDefaultValue ¶
func (l *Lookup) InputValueDefinitionHasDefaultValue(definition document.InputValueDefinition) bool
func (*Lookup) InputValueDefinitionIsRequired ¶
func (l *Lookup) InputValueDefinitionIsRequired(inputValue document.InputValueDefinition) bool
func (*Lookup) InputValueDefinitionIterator ¶
func (l *Lookup) InputValueDefinitionIterator(refs []int) InputValueDefinitionIterator
func (*Lookup) IntegersContainsMember ¶
func (*Lookup) InterfaceTypeDefinitionByName ¶
func (l *Lookup) InterfaceTypeDefinitionByName(name int) (document.InterfaceTypeDefinition, bool)
func (*Lookup) IsFragmentDefinitionUsedInOperation ¶
func (*Lookup) IsLeafNode ¶
func (*Lookup) IsUniqueFragmentName ¶
func (*Lookup) MutationObjectTypeDefinition ¶
func (l *Lookup) MutationObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
func (*Lookup) ObjectField ¶
func (l *Lookup) ObjectField(i int) document.ObjectField
func (*Lookup) ObjectFieldByIndexAndName ¶
func (*Lookup) ObjectFieldsIterator ¶
func (l *Lookup) ObjectFieldsIterator(refs []int) ObjectFieldsIterator
func (*Lookup) ObjectTypeDefinitionByName ¶
func (l *Lookup) ObjectTypeDefinitionByName(name int) (definition document.ObjectTypeDefinition, exists bool)
func (*Lookup) ObjectTypeDefinitionImplementsInterface ¶
func (l *Lookup) ObjectTypeDefinitionImplementsInterface(definition document.ObjectTypeDefinition, interfaceName int) bool
func (*Lookup) ObjectValue ¶ added in v1.0.1
func (l *Lookup) ObjectValue(ref int) document.ObjectValue
func (*Lookup) OperationDefinition ¶
func (l *Lookup) OperationDefinition(i int) document.OperationDefinition
func (*Lookup) OperationDefinitions ¶
func (l *Lookup) OperationDefinitions() document.OperationDefinitions
func (*Lookup) OperationTypeName ¶
func (l *Lookup) OperationTypeName(definition document.OperationDefinition) int
func (*Lookup) PossibleSelectionTypes ¶
func (*Lookup) QueryObjectTypeDefinition ¶
func (l *Lookup) QueryObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
func (*Lookup) ScalarTypeDefinitionByName ¶
func (l *Lookup) ScalarTypeDefinitionByName(name int) (document.ScalarTypeDefinition, bool)
func (*Lookup) SelectionSet ¶
func (l *Lookup) SelectionSet(ref int) document.SelectionSet
func (*Lookup) SelectionSetCollectedFields ¶
func (l *Lookup) SelectionSetCollectedFields(set document.SelectionSet, setTypeName int) SelectionSetFieldsIterator
func (*Lookup) SelectionSetContainsFragmentSpread ¶
func (l *Lookup) SelectionSetContainsFragmentSpread(set document.SelectionSet, spreadIndex int) bool
func (*Lookup) SelectionSetContentsIterator ¶ added in v1.0.1
func (l *Lookup) SelectionSetContentsIterator(ref int) SelectionSetContentsIterator
func (*Lookup) SelectionSetDeepEqual ¶
func (l *Lookup) SelectionSetDeepEqual(left, right document.SelectionSet) bool
func (*Lookup) SelectionSetDifferingSelectionSetIterator ¶
func (l *Lookup) SelectionSetDifferingSelectionSetIterator(set document.SelectionSet, ignoreTypeName int) SelectionSetDifferingSelectionSetIterator
func (*Lookup) SelectionSetHasSelections ¶
func (l *Lookup) SelectionSetHasSelections(set document.SelectionSet) bool
func (*Lookup) SelectionSetNumRootFields ¶
func (l *Lookup) SelectionSetNumRootFields(set document.SelectionSet) int
func (*Lookup) SelectionSetsAreOfSameResponseShape ¶
func (*Lookup) SubscriptionObjectTypeDefinition ¶
func (l *Lookup) SubscriptionObjectTypeDefinition() (document.ObjectTypeDefinition, bool)
func (*Lookup) TypeIsScalarOrEnum ¶
func (*Lookup) TypeIsValidFragmentTypeCondition ¶
func (*Lookup) TypeSatisfiesTypeSystemType ¶
func (*Lookup) UnionTypeDefinitionByName ¶
func (l *Lookup) UnionTypeDefinitionByName(name int) (document.UnionTypeDefinition, bool)
func (*Lookup) UnionTypeDefinitionContainsType ¶
func (l *Lookup) UnionTypeDefinitionContainsType(definition document.UnionTypeDefinition, typeName int) bool
func (*Lookup) UnionTypeDefinitionNamesContainingMember ¶
func (*Lookup) UnwrappedNamedType ¶
func (*Lookup) ValueIsValid ¶
func (*Lookup) ValueListsAreEqual ¶
func (*Lookup) ValueObjectsAreEqual ¶
func (*Lookup) ValuesAreEqual ¶
func (*Lookup) VariableDefinition ¶
func (*Lookup) VariableDefinitionIterator ¶
func (l *Lookup) VariableDefinitionIterator(refs []int) VariableDefinitionsIterator
type NodeKind ¶
type NodeKind int
ENUM( NONE OPERATION_DEFINITION DIRECTIVE DIRECTIVE_SET SELECTION_SET FIELD INLINE_FRAGMENT FRAGMENT_SPREAD FRAGMENT_DEFINITION ARGUMENT_SET ARGUMENT )
const ( // NONE is a NodeKind of type NONE NONE NodeKind = iota // OPERATION_DEFINITION is a NodeKind of type OPERATION_DEFINITION OPERATION_DEFINITION // DIRECTIVE is a NodeKind of type DIRECTIVE DIRECTIVE // DIRECTIVE_SET is a NodeKind of type DIRECTIVE_SET DIRECTIVE_SET // SELECTION_SET is a NodeKind of type SELECTION_SET SELECTION_SET // FIELD is a NodeKind of type FIELD FIELD // INLINE_FRAGMENT is a NodeKind of type INLINE_FRAGMENT INLINE_FRAGMENT // FRAGMENT_SPREAD is a NodeKind of type FRAGMENT_SPREAD FRAGMENT_SPREAD // FRAGMENT_DEFINITION is a NodeKind of type FRAGMENT_DEFINITION FRAGMENT_DEFINITION // ARGUMENT_SET is a NodeKind of type ARGUMENT_SET ARGUMENT_SET // ARGUMENT is a NodeKind of type ARGUMENT ARGUMENT )
func ParseNodeKind ¶
ParseNodeKind attempts to convert a string to a NodeKind
type NodeUsageInOperationsIterator ¶ added in v1.0.1
type NodeUsageInOperationsIterator struct {
// contains filtered or unexported fields
}
func (*NodeUsageInOperationsIterator) Next ¶ added in v1.0.1
func (n *NodeUsageInOperationsIterator) Next() bool
func (*NodeUsageInOperationsIterator) Value ¶ added in v1.0.1
func (n *NodeUsageInOperationsIterator) Value() int
type ObjectFieldsIterator ¶
type ObjectFieldsIterator struct {
// contains filtered or unexported fields
}
func (*ObjectFieldsIterator) Next ¶
func (o *ObjectFieldsIterator) Next() bool
func (*ObjectFieldsIterator) Value ¶
func (o *ObjectFieldsIterator) Value() (field document.ObjectField, ref int)
type OperationDefinitionIterable ¶
type OperationDefinitionIterable struct {
Iterable
}
func (*OperationDefinitionIterable) Value ¶
func (o *OperationDefinitionIterable) Value() document.OperationDefinition
type SelectionSetContentsIterator ¶ added in v1.0.1
type SelectionSetContentsIterator struct {
// contains filtered or unexported fields
}
func (*SelectionSetContentsIterator) Next ¶ added in v1.0.1
func (s *SelectionSetContentsIterator) Next() bool
func (*SelectionSetContentsIterator) Value ¶ added in v1.0.1
func (s *SelectionSetContentsIterator) Value() (kind NodeKind, ref int)
type SelectionSetDifferingSelectionSetIterator ¶
type SelectionSetDifferingSelectionSetIterator struct {
// contains filtered or unexported fields
}
func (*SelectionSetDifferingSelectionSetIterator) Next ¶
func (s *SelectionSetDifferingSelectionSetIterator) Next() bool
func (*SelectionSetDifferingSelectionSetIterator) Value ¶
func (s *SelectionSetDifferingSelectionSetIterator) Value() TypedSet
type SelectionSetFieldsIterator ¶
type SelectionSetFieldsIterator struct {
// contains filtered or unexported fields
}
func (*SelectionSetFieldsIterator) Next ¶
func (s *SelectionSetFieldsIterator) Next() bool
func (*SelectionSetFieldsIterator) Value ¶
func (s *SelectionSetFieldsIterator) Value() document.Field
type SelectionSetIterable ¶
type SelectionSetIterable struct {
Iterable
}
func (*SelectionSetIterable) Value ¶
func (s *SelectionSetIterable) Value() (set document.SelectionSet, ref, parent int)
type VariableDefinitionsIterator ¶
type VariableDefinitionsIterator struct {
// contains filtered or unexported fields
}
func (*VariableDefinitionsIterator) Next ¶
func (v *VariableDefinitionsIterator) Next() bool
func (*VariableDefinitionsIterator) Value ¶
func (v *VariableDefinitionsIterator) Value() (definition document.VariableDefinition, index int)
type Walker ¶
type Walker struct {
// contains filtered or unexported fields
}
func (*Walker) ArgumentSetIterable ¶
func (w *Walker) ArgumentSetIterable() ArgumentSetIterable
func (*Walker) ArgumentsDefinition ¶
func (w *Walker) ArgumentsDefinition(parent int) document.ArgumentsDefinition
func (*Walker) DirectiveSetIterable ¶
func (w *Walker) DirectiveSetIterable() DirectiveSetIterable
func (*Walker) FieldsIterable ¶
func (w *Walker) FieldsIterable() FieldsIterable
func (*Walker) FragmentDefinitionIterable ¶ added in v1.0.1
func (w *Walker) FragmentDefinitionIterable() FragmentDefinitionIterable
func (*Walker) FragmentUsageInOperations ¶ added in v1.0.1
func (*Walker) NodeUsageInOperationsIterator ¶ added in v1.0.1
func (w *Walker) NodeUsageInOperationsIterator(ref int) (iter NodeUsageInOperationsIterator)
func (*Walker) OperationDefinitionIterable ¶
func (w *Walker) OperationDefinitionIterable() OperationDefinitionIterable
func (*Walker) SelectionSetIterable ¶
func (w *Walker) SelectionSetIterable() SelectionSetIterable
func (*Walker) SelectionSetTypeName ¶
func (w *Walker) SelectionSetTypeName(set document.SelectionSet, parent int) int
func (*Walker) WalkExecutable ¶
func (w *Walker) WalkExecutable()
Click to show internal directories.
Click to hide internal directories.