document

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Argument

type Argument struct {
	Name     int
	Value    int
	Position position.Position
}

Argument as specified in http://facebook.github.io/graphql/draft/#Argument

func (Argument) NodeAlias

func (a Argument) NodeAlias() int

func (Argument) NodeArgumentSet

func (a Argument) NodeArgumentSet() int

func (Argument) NodeArgumentsDefinition

func (a Argument) NodeArgumentsDefinition() int

func (Argument) NodeDefaultValue

func (a Argument) NodeDefaultValue() int

func (Argument) NodeDescription

func (a Argument) NodeDescription() ByteSliceReference

func (Argument) NodeDirectiveDefinitions

func (a Argument) NodeDirectiveDefinitions() []int

func (Argument) NodeDirectiveSet

func (a Argument) NodeDirectiveSet() int

func (Argument) NodeEnumTypeDefinitions

func (a Argument) NodeEnumTypeDefinitions() []int

func (Argument) NodeEnumValuesDefinition

func (a Argument) NodeEnumValuesDefinition() []int

func (Argument) NodeFields

func (a Argument) NodeFields() []int

func (Argument) NodeFieldsDefinition

func (a Argument) NodeFieldsDefinition() []int

func (Argument) NodeFragmentSpreads

func (a Argument) NodeFragmentSpreads() []int

func (Argument) NodeImplementsInterfaces

func (a Argument) NodeImplementsInterfaces() []int

func (Argument) NodeInlineFragments

func (a Argument) NodeInlineFragments() []int

func (Argument) NodeInputFieldsDefinition

func (a Argument) NodeInputFieldsDefinition() int

func (Argument) NodeInputObjectTypeDefinitions

func (a Argument) NodeInputObjectTypeDefinitions() []int

func (Argument) NodeInputValueDefinitions

func (a Argument) NodeInputValueDefinitions() []int

func (Argument) NodeInterfaceTypeDefinitions

func (a Argument) NodeInterfaceTypeDefinitions() []int

func (Argument) NodeName

func (a Argument) NodeName() int

func (Argument) NodeObjectTypeDefinitions

func (a Argument) NodeObjectTypeDefinitions() []int

func (Argument) NodeOperationType

func (a Argument) NodeOperationType() OperationType

func (Argument) NodePosition

func (a Argument) NodePosition() position.Position

func (Argument) NodeScalarTypeDefinitions

func (a Argument) NodeScalarTypeDefinitions() []int

func (Argument) NodeSchemaDefinition

func (a Argument) NodeSchemaDefinition() SchemaDefinition

func (Argument) NodeSelectionSet

func (a Argument) NodeSelectionSet() int

func (Argument) NodeType

func (a Argument) NodeType() int

func (Argument) NodeUnionMemberTypes

func (a Argument) NodeUnionMemberTypes() []int

func (Argument) NodeUnionTypeDefinitions

func (a Argument) NodeUnionTypeDefinitions() []int

func (Argument) NodeValue

func (a Argument) NodeValue() int

func (Argument) NodeValueReference

func (a Argument) NodeValueReference() int

func (Argument) NodeValueType

func (a Argument) NodeValueType() ValueType

func (Argument) NodeVariableDefinitions

func (a Argument) NodeVariableDefinitions() []int

type ArgumentSet

type ArgumentSet []int

type Arguments

type Arguments []Argument

Arguments as specified in http://facebook.github.io/graphql/draft/#Arguments

type ArgumentsDefinition

type ArgumentsDefinition struct {
	InputValueDefinitions []int
	Position              position.Position
}

ArgumentsDefinition as specified in: http://facebook.github.io/graphql/draft/#ArgumentsDefinition

func (ArgumentsDefinition) NodeAlias

func (a ArgumentsDefinition) NodeAlias() int

func (ArgumentsDefinition) NodeArgumentSet

func (a ArgumentsDefinition) NodeArgumentSet() int

func (ArgumentsDefinition) NodeArgumentsDefinition

func (a ArgumentsDefinition) NodeArgumentsDefinition() int

func (ArgumentsDefinition) NodeDefaultValue

func (a ArgumentsDefinition) NodeDefaultValue() int

func (ArgumentsDefinition) NodeDescription

func (a ArgumentsDefinition) NodeDescription() ByteSliceReference

func (ArgumentsDefinition) NodeDirectiveDefinitions

func (a ArgumentsDefinition) NodeDirectiveDefinitions() []int

func (ArgumentsDefinition) NodeDirectiveSet

func (a ArgumentsDefinition) NodeDirectiveSet() int

func (ArgumentsDefinition) NodeEnumTypeDefinitions

func (a ArgumentsDefinition) NodeEnumTypeDefinitions() []int

func (ArgumentsDefinition) NodeEnumValuesDefinition

func (a ArgumentsDefinition) NodeEnumValuesDefinition() []int

func (ArgumentsDefinition) NodeFields

func (a ArgumentsDefinition) NodeFields() []int

func (ArgumentsDefinition) NodeFieldsDefinition

func (a ArgumentsDefinition) NodeFieldsDefinition() []int

func (ArgumentsDefinition) NodeFragmentSpreads

func (a ArgumentsDefinition) NodeFragmentSpreads() []int

func (ArgumentsDefinition) NodeImplementsInterfaces

func (a ArgumentsDefinition) NodeImplementsInterfaces() []int

func (ArgumentsDefinition) NodeInlineFragments

func (a ArgumentsDefinition) NodeInlineFragments() []int

func (ArgumentsDefinition) NodeInputFieldsDefinition

func (a ArgumentsDefinition) NodeInputFieldsDefinition() int

func (ArgumentsDefinition) NodeInputObjectTypeDefinitions

func (a ArgumentsDefinition) NodeInputObjectTypeDefinitions() []int

func (ArgumentsDefinition) NodeInputValueDefinitions

func (a ArgumentsDefinition) NodeInputValueDefinitions() []int

func (ArgumentsDefinition) NodeInterfaceTypeDefinitions

func (a ArgumentsDefinition) NodeInterfaceTypeDefinitions() []int

func (ArgumentsDefinition) NodeName

func (a ArgumentsDefinition) NodeName() int

func (ArgumentsDefinition) NodeObjectTypeDefinitions

func (a ArgumentsDefinition) NodeObjectTypeDefinitions() []int

func (ArgumentsDefinition) NodeOperationType

func (a ArgumentsDefinition) NodeOperationType() OperationType

func (ArgumentsDefinition) NodePosition

func (a ArgumentsDefinition) NodePosition() position.Position

func (ArgumentsDefinition) NodeScalarTypeDefinitions

func (a ArgumentsDefinition) NodeScalarTypeDefinitions() []int

func (ArgumentsDefinition) NodeSchemaDefinition

func (a ArgumentsDefinition) NodeSchemaDefinition() SchemaDefinition

func (ArgumentsDefinition) NodeSelectionSet

func (a ArgumentsDefinition) NodeSelectionSet() int

func (ArgumentsDefinition) NodeType

func (a ArgumentsDefinition) NodeType() int

func (ArgumentsDefinition) NodeUnionMemberTypes

func (a ArgumentsDefinition) NodeUnionMemberTypes() []int

func (ArgumentsDefinition) NodeUnionTypeDefinitions

func (a ArgumentsDefinition) NodeUnionTypeDefinitions() []int

func (ArgumentsDefinition) NodeValue

func (a ArgumentsDefinition) NodeValue() int

func (ArgumentsDefinition) NodeValueReference

func (a ArgumentsDefinition) NodeValueReference() int

func (ArgumentsDefinition) NodeValueType

func (a ArgumentsDefinition) NodeValueType() ValueType

func (ArgumentsDefinition) NodeVariableDefinitions

func (a ArgumentsDefinition) NodeVariableDefinitions() []int

type ArgumentsDefinitions

type ArgumentsDefinitions []ArgumentsDefinition

type ByteSlice

type ByteSlice []byte

func (ByteSlice) MarshalJSON

func (b ByteSlice) MarshalJSON() ([]byte, error)

type ByteSliceReference

type ByteSliceReference struct {
	Start uint16
	End   uint16
}

func (ByteSliceReference) Length

func (b ByteSliceReference) Length() uint16

type Directive

type Directive struct {
	Name        int
	ArgumentSet int
	Position    position.Position
}

Directive as specified in: http://facebook.github.io/graphql/draft/#Directive

func (Directive) NodeAlias

func (d Directive) NodeAlias() int

func (Directive) NodeArgumentSet

func (d Directive) NodeArgumentSet() int

func (Directive) NodeArgumentsDefinition

func (d Directive) NodeArgumentsDefinition() int

func (Directive) NodeDefaultValue

func (d Directive) NodeDefaultValue() int

func (Directive) NodeDescription

func (d Directive) NodeDescription() ByteSliceReference

func (Directive) NodeDirectiveDefinitions

func (d Directive) NodeDirectiveDefinitions() []int

func (Directive) NodeDirectiveSet

func (d Directive) NodeDirectiveSet() int

func (Directive) NodeEnumTypeDefinitions

func (d Directive) NodeEnumTypeDefinitions() []int

func (Directive) NodeEnumValuesDefinition

func (d Directive) NodeEnumValuesDefinition() []int

func (Directive) NodeFields

func (d Directive) NodeFields() []int

func (Directive) NodeFieldsDefinition

func (d Directive) NodeFieldsDefinition() []int

func (Directive) NodeFragmentSpreads

func (d Directive) NodeFragmentSpreads() []int

func (Directive) NodeImplementsInterfaces

func (d Directive) NodeImplementsInterfaces() []int

func (Directive) NodeInlineFragments

func (d Directive) NodeInlineFragments() []int

func (Directive) NodeInputFieldsDefinition

func (d Directive) NodeInputFieldsDefinition() int

func (Directive) NodeInputObjectTypeDefinitions

func (d Directive) NodeInputObjectTypeDefinitions() []int

func (Directive) NodeInputValueDefinitions

func (d Directive) NodeInputValueDefinitions() []int

func (Directive) NodeInterfaceTypeDefinitions

func (d Directive) NodeInterfaceTypeDefinitions() []int

func (Directive) NodeName

func (d Directive) NodeName() int

func (Directive) NodeObjectTypeDefinitions

func (d Directive) NodeObjectTypeDefinitions() []int

func (Directive) NodeOperationType

func (d Directive) NodeOperationType() OperationType

func (Directive) NodePosition

func (d Directive) NodePosition() position.Position

func (Directive) NodeScalarTypeDefinitions

func (d Directive) NodeScalarTypeDefinitions() []int

func (Directive) NodeSchemaDefinition

func (d Directive) NodeSchemaDefinition() SchemaDefinition

func (Directive) NodeSelectionSet

func (d Directive) NodeSelectionSet() int

func (Directive) NodeType

func (d Directive) NodeType() int

func (Directive) NodeUnionMemberTypes

func (d Directive) NodeUnionMemberTypes() []int

func (Directive) NodeUnionTypeDefinitions

func (d Directive) NodeUnionTypeDefinitions() []int

func (Directive) NodeValue

func (d Directive) NodeValue() int

func (Directive) NodeValueReference

func (d Directive) NodeValueReference() int

func (Directive) NodeValueType

func (d Directive) NodeValueType() ValueType

func (Directive) NodeVariableDefinitions

func (d Directive) NodeVariableDefinitions() []int

type DirectiveDefinition

type DirectiveDefinition struct {
	Description         ByteSliceReference
	Name                int
	ArgumentsDefinition int
	DirectiveLocations  DirectiveLocations
	Position            position.Position
}

DirectiveDefinition as specified in http://facebook.github.io/graphql/draft/#DirectiveDefinition

func (DirectiveDefinition) ContainsLocation

func (d DirectiveDefinition) ContainsLocation(location DirectiveLocation) bool

ContainsLocation returns if the $location is contained

func (DirectiveDefinition) NodeAlias

func (d DirectiveDefinition) NodeAlias() int

func (DirectiveDefinition) NodeArgumentSet

func (d DirectiveDefinition) NodeArgumentSet() int

func (DirectiveDefinition) NodeArgumentsDefinition

func (d DirectiveDefinition) NodeArgumentsDefinition() int

func (DirectiveDefinition) NodeDefaultValue

func (d DirectiveDefinition) NodeDefaultValue() int

func (DirectiveDefinition) NodeDescription

func (d DirectiveDefinition) NodeDescription() ByteSliceReference

func (DirectiveDefinition) NodeDirectiveDefinitions

func (d DirectiveDefinition) NodeDirectiveDefinitions() []int

func (DirectiveDefinition) NodeDirectiveSet

func (d DirectiveDefinition) NodeDirectiveSet() int

func (DirectiveDefinition) NodeEnumTypeDefinitions

func (d DirectiveDefinition) NodeEnumTypeDefinitions() []int

func (DirectiveDefinition) NodeEnumValuesDefinition

func (d DirectiveDefinition) NodeEnumValuesDefinition() []int

func (DirectiveDefinition) NodeFields

func (d DirectiveDefinition) NodeFields() []int

func (DirectiveDefinition) NodeFieldsDefinition

func (d DirectiveDefinition) NodeFieldsDefinition() []int

func (DirectiveDefinition) NodeFragmentSpreads

func (d DirectiveDefinition) NodeFragmentSpreads() []int

func (DirectiveDefinition) NodeImplementsInterfaces

func (d DirectiveDefinition) NodeImplementsInterfaces() []int

func (DirectiveDefinition) NodeInlineFragments

func (d DirectiveDefinition) NodeInlineFragments() []int

func (DirectiveDefinition) NodeInputFieldsDefinition

func (d DirectiveDefinition) NodeInputFieldsDefinition() int

func (DirectiveDefinition) NodeInputObjectTypeDefinitions

func (d DirectiveDefinition) NodeInputObjectTypeDefinitions() []int

func (DirectiveDefinition) NodeInputValueDefinitions

func (d DirectiveDefinition) NodeInputValueDefinitions() []int

func (DirectiveDefinition) NodeInterfaceTypeDefinitions

func (d DirectiveDefinition) NodeInterfaceTypeDefinitions() []int

func (DirectiveDefinition) NodeName

func (d DirectiveDefinition) NodeName() int

func (DirectiveDefinition) NodeObjectTypeDefinitions

func (d DirectiveDefinition) NodeObjectTypeDefinitions() []int

func (DirectiveDefinition) NodeOperationType

func (d DirectiveDefinition) NodeOperationType() OperationType

func (DirectiveDefinition) NodePosition

func (d DirectiveDefinition) NodePosition() position.Position

func (DirectiveDefinition) NodeScalarTypeDefinitions

func (d DirectiveDefinition) NodeScalarTypeDefinitions() []int

func (DirectiveDefinition) NodeSchemaDefinition

func (d DirectiveDefinition) NodeSchemaDefinition() SchemaDefinition

func (DirectiveDefinition) NodeSelectionSet

func (d DirectiveDefinition) NodeSelectionSet() int

func (DirectiveDefinition) NodeType

func (d DirectiveDefinition) NodeType() int

func (DirectiveDefinition) NodeUnionMemberTypes

func (d DirectiveDefinition) NodeUnionMemberTypes() []int

func (DirectiveDefinition) NodeUnionTypeDefinitions

func (d DirectiveDefinition) NodeUnionTypeDefinitions() []int

func (DirectiveDefinition) NodeValue

func (d DirectiveDefinition) NodeValue() int

func (DirectiveDefinition) NodeValueReference

func (d DirectiveDefinition) NodeValueReference() int

func (DirectiveDefinition) NodeValueType

func (d DirectiveDefinition) NodeValueType() ValueType

func (DirectiveDefinition) NodeVariableDefinitions

func (d DirectiveDefinition) NodeVariableDefinitions() []int

type DirectiveDefinitions

type DirectiveDefinitions []DirectiveDefinition

DirectiveDefinitions is the plural of DirectiveDefinition

type DirectiveLocation

type DirectiveLocation int

DirectiveLocation as specified in: http://facebook.github.io/graphql/draft/#DirectiveLocations

ENUM( UNKNOWN QUERY MUTATION SUBSCRIPTION FIELD FRAGMENT_DEFINITION FRAGMENT_SPREAD INLINE_FRAGMENT SCHEMA SCALAR OBJECT FIELD_DEFINITION ARGUMENT_DEFINITION INTERFACE UNION ENUM ENUM_VALUE INPUT_OBJECT INPUT_FIELD_DEFINITION )

const (
	// DirectiveLocationUNKNOWN is a DirectiveLocation of type UNKNOWN
	DirectiveLocationUNKNOWN DirectiveLocation = iota
	// DirectiveLocationQUERY is a DirectiveLocation of type QUERY
	DirectiveLocationQUERY
	// DirectiveLocationMUTATION is a DirectiveLocation of type MUTATION
	DirectiveLocationMUTATION
	// DirectiveLocationSUBSCRIPTION is a DirectiveLocation of type SUBSCRIPTION
	DirectiveLocationSUBSCRIPTION
	// DirectiveLocationFIELD is a DirectiveLocation of type FIELD
	DirectiveLocationFIELD
	// DirectiveLocationFRAGMENT_DEFINITION is a DirectiveLocation of type FRAGMENT_DEFINITION
	DirectiveLocationFRAGMENT_DEFINITION
	// DirectiveLocationFRAGMENT_SPREAD is a DirectiveLocation of type FRAGMENT_SPREAD
	DirectiveLocationFRAGMENT_SPREAD
	// DirectiveLocationINLINE_FRAGMENT is a DirectiveLocation of type INLINE_FRAGMENT
	DirectiveLocationINLINE_FRAGMENT
	// DirectiveLocationSCHEMA is a DirectiveLocation of type SCHEMA
	DirectiveLocationSCHEMA
	// DirectiveLocationSCALAR is a DirectiveLocation of type SCALAR
	DirectiveLocationSCALAR
	// DirectiveLocationOBJECT is a DirectiveLocation of type OBJECT
	DirectiveLocationOBJECT
	// DirectiveLocationFIELD_DEFINITION is a DirectiveLocation of type FIELD_DEFINITION
	DirectiveLocationFIELD_DEFINITION
	// DirectiveLocationARGUMENT_DEFINITION is a DirectiveLocation of type ARGUMENT_DEFINITION
	DirectiveLocationARGUMENT_DEFINITION
	// DirectiveLocationINTERFACE is a DirectiveLocation of type INTERFACE
	DirectiveLocationINTERFACE
	// DirectiveLocationUNION is a DirectiveLocation of type UNION
	DirectiveLocationUNION
	// DirectiveLocationENUM is a DirectiveLocation of type ENUM
	DirectiveLocationENUM
	// DirectiveLocationENUM_VALUE is a DirectiveLocation of type ENUM_VALUE
	DirectiveLocationENUM_VALUE
	// DirectiveLocationINPUT_OBJECT is a DirectiveLocation of type INPUT_OBJECT
	DirectiveLocationINPUT_OBJECT
	// DirectiveLocationINPUT_FIELD_DEFINITION is a DirectiveLocation of type INPUT_FIELD_DEFINITION
	DirectiveLocationINPUT_FIELD_DEFINITION
)

func ParseDirectiveLocation

func ParseDirectiveLocation(name []byte) (DirectiveLocation, error)

ParseDirectiveLocation attempts to convert a string to a DirectiveLocation

func (DirectiveLocation) String

func (x DirectiveLocation) String() string

String implements the Stringer interface.

type DirectiveLocations

type DirectiveLocations []DirectiveLocation

DirectiveLocations is the plural of DirectiveLocation

func (DirectiveLocations) String

func (d DirectiveLocations) String() string

type DirectiveSet

type DirectiveSet []int

type Directives

type Directives []Directive

Directives as specified in http://facebook.github.io/graphql/draft/#Directives

type EnumTypeDefinition

type EnumTypeDefinition struct {
	Description          ByteSliceReference
	Name                 int
	EnumValuesDefinition []int
	DirectiveSet         int
	Position             position.Position
}

EnumTypeDefinition as specified in: http://facebook.github.io/graphql/draft/#EnumTypeDefinition

func (EnumTypeDefinition) NodeAlias

func (e EnumTypeDefinition) NodeAlias() int

func (EnumTypeDefinition) NodeArgumentSet

func (e EnumTypeDefinition) NodeArgumentSet() int

func (EnumTypeDefinition) NodeArgumentsDefinition

func (e EnumTypeDefinition) NodeArgumentsDefinition() int

func (EnumTypeDefinition) NodeDefaultValue

func (e EnumTypeDefinition) NodeDefaultValue() int

func (EnumTypeDefinition) NodeDescription

func (e EnumTypeDefinition) NodeDescription() ByteSliceReference

func (EnumTypeDefinition) NodeDirectiveDefinitions

func (e EnumTypeDefinition) NodeDirectiveDefinitions() []int

func (EnumTypeDefinition) NodeDirectiveSet

func (e EnumTypeDefinition) NodeDirectiveSet() int

func (EnumTypeDefinition) NodeEnumTypeDefinitions

func (e EnumTypeDefinition) NodeEnumTypeDefinitions() []int

func (EnumTypeDefinition) NodeEnumValuesDefinition

func (e EnumTypeDefinition) NodeEnumValuesDefinition() []int

func (EnumTypeDefinition) NodeFields

func (e EnumTypeDefinition) NodeFields() []int

func (EnumTypeDefinition) NodeFieldsDefinition

func (e EnumTypeDefinition) NodeFieldsDefinition() []int

func (EnumTypeDefinition) NodeFragmentSpreads

func (e EnumTypeDefinition) NodeFragmentSpreads() []int

func (EnumTypeDefinition) NodeImplementsInterfaces

func (e EnumTypeDefinition) NodeImplementsInterfaces() []int

func (EnumTypeDefinition) NodeInlineFragments

func (e EnumTypeDefinition) NodeInlineFragments() []int

func (EnumTypeDefinition) NodeInputFieldsDefinition

func (e EnumTypeDefinition) NodeInputFieldsDefinition() int

func (EnumTypeDefinition) NodeInputObjectTypeDefinitions

func (e EnumTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (EnumTypeDefinition) NodeInputValueDefinitions

func (e EnumTypeDefinition) NodeInputValueDefinitions() []int

func (EnumTypeDefinition) NodeInterfaceTypeDefinitions

func (e EnumTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (EnumTypeDefinition) NodeName

func (e EnumTypeDefinition) NodeName() int

func (EnumTypeDefinition) NodeObjectTypeDefinitions

func (e EnumTypeDefinition) NodeObjectTypeDefinitions() []int

func (EnumTypeDefinition) NodeOperationType

func (e EnumTypeDefinition) NodeOperationType() OperationType

func (EnumTypeDefinition) NodePosition

func (e EnumTypeDefinition) NodePosition() position.Position

func (EnumTypeDefinition) NodeScalarTypeDefinitions

func (e EnumTypeDefinition) NodeScalarTypeDefinitions() []int

func (EnumTypeDefinition) NodeSchemaDefinition

func (e EnumTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (EnumTypeDefinition) NodeSelectionSet

func (e EnumTypeDefinition) NodeSelectionSet() int

func (EnumTypeDefinition) NodeType

func (e EnumTypeDefinition) NodeType() int

func (EnumTypeDefinition) NodeUnionMemberTypes

func (e EnumTypeDefinition) NodeUnionMemberTypes() []int

func (EnumTypeDefinition) NodeUnionTypeDefinitions

func (e EnumTypeDefinition) NodeUnionTypeDefinitions() []int

func (EnumTypeDefinition) NodeValue

func (e EnumTypeDefinition) NodeValue() int

func (EnumTypeDefinition) NodeValueReference

func (e EnumTypeDefinition) NodeValueReference() int

func (EnumTypeDefinition) NodeValueType

func (e EnumTypeDefinition) NodeValueType() ValueType

func (EnumTypeDefinition) NodeVariableDefinitions

func (e EnumTypeDefinition) NodeVariableDefinitions() []int

type EnumTypeDefinitions

type EnumTypeDefinitions []EnumTypeDefinition

EnumTypeDefinitions is the plural of EnumTypeDefinition

type EnumValueDefinition

type EnumValueDefinition struct {
	Description  ByteSliceReference
	EnumValue    int
	DirectiveSet int
	Position     position.Position
}

EnumValueDefinition as specified in: http://facebook.github.io/graphql/draft/#EnumValueDefinition

func (EnumValueDefinition) NodeAlias

func (e EnumValueDefinition) NodeAlias() int

func (EnumValueDefinition) NodeArgumentSet

func (e EnumValueDefinition) NodeArgumentSet() int

func (EnumValueDefinition) NodeArgumentsDefinition

func (e EnumValueDefinition) NodeArgumentsDefinition() int

func (EnumValueDefinition) NodeDefaultValue

func (e EnumValueDefinition) NodeDefaultValue() int

func (EnumValueDefinition) NodeDescription

func (e EnumValueDefinition) NodeDescription() ByteSliceReference

func (EnumValueDefinition) NodeDirectiveDefinitions

func (e EnumValueDefinition) NodeDirectiveDefinitions() []int

func (EnumValueDefinition) NodeDirectiveSet

func (e EnumValueDefinition) NodeDirectiveSet() int

func (EnumValueDefinition) NodeEnumTypeDefinitions

func (e EnumValueDefinition) NodeEnumTypeDefinitions() []int

func (EnumValueDefinition) NodeEnumValuesDefinition

func (e EnumValueDefinition) NodeEnumValuesDefinition() []int

func (EnumValueDefinition) NodeFields

func (e EnumValueDefinition) NodeFields() []int

func (EnumValueDefinition) NodeFieldsDefinition

func (e EnumValueDefinition) NodeFieldsDefinition() []int

func (EnumValueDefinition) NodeFragmentSpreads

func (e EnumValueDefinition) NodeFragmentSpreads() []int

func (EnumValueDefinition) NodeImplementsInterfaces

func (e EnumValueDefinition) NodeImplementsInterfaces() []int

func (EnumValueDefinition) NodeInlineFragments

func (e EnumValueDefinition) NodeInlineFragments() []int

func (EnumValueDefinition) NodeInputFieldsDefinition

func (e EnumValueDefinition) NodeInputFieldsDefinition() int

func (EnumValueDefinition) NodeInputObjectTypeDefinitions

func (e EnumValueDefinition) NodeInputObjectTypeDefinitions() []int

func (EnumValueDefinition) NodeInputValueDefinitions

func (e EnumValueDefinition) NodeInputValueDefinitions() []int

func (EnumValueDefinition) NodeInterfaceTypeDefinitions

func (e EnumValueDefinition) NodeInterfaceTypeDefinitions() []int

func (EnumValueDefinition) NodeName

func (e EnumValueDefinition) NodeName() int

func (EnumValueDefinition) NodeObjectTypeDefinitions

func (e EnumValueDefinition) NodeObjectTypeDefinitions() []int

func (EnumValueDefinition) NodeOperationType

func (e EnumValueDefinition) NodeOperationType() OperationType

func (EnumValueDefinition) NodePosition

func (e EnumValueDefinition) NodePosition() position.Position

func (EnumValueDefinition) NodeScalarTypeDefinitions

func (e EnumValueDefinition) NodeScalarTypeDefinitions() []int

func (EnumValueDefinition) NodeSchemaDefinition

func (e EnumValueDefinition) NodeSchemaDefinition() SchemaDefinition

func (EnumValueDefinition) NodeSelectionSet

func (e EnumValueDefinition) NodeSelectionSet() int

func (EnumValueDefinition) NodeType

func (e EnumValueDefinition) NodeType() int

func (EnumValueDefinition) NodeUnionMemberTypes

func (e EnumValueDefinition) NodeUnionMemberTypes() []int

func (EnumValueDefinition) NodeUnionTypeDefinitions

func (e EnumValueDefinition) NodeUnionTypeDefinitions() []int

func (EnumValueDefinition) NodeValue

func (e EnumValueDefinition) NodeValue() int

func (EnumValueDefinition) NodeValueReference

func (e EnumValueDefinition) NodeValueReference() int

func (EnumValueDefinition) NodeValueType

func (e EnumValueDefinition) NodeValueType() ValueType

func (EnumValueDefinition) NodeVariableDefinitions

func (e EnumValueDefinition) NodeVariableDefinitions() []int

type EnumValueDefinitions

type EnumValueDefinitions []EnumValueDefinition

EnumValueDefinitions as specified in: http://facebook.github.io/graphql/draft/#EnumValuesDefinition

type ExecutableDefinition

type ExecutableDefinition struct {
	OperationDefinitions []int
	FragmentDefinitions  []int
}

ExecutableDefinition as specified in: http://facebook.github.io/graphql/draft/#ExecutableDefinition

type Field

type Field struct {
	Alias        int
	Name         int
	ArgumentSet  int
	DirectiveSet int
	SelectionSet int
	Position     position.Position
}

Field as specified in: http://facebook.github.io/graphql/draft/#Field

func (Field) NodeAlias

func (f Field) NodeAlias() int

func (Field) NodeArgumentSet

func (f Field) NodeArgumentSet() int

func (Field) NodeArgumentsDefinition

func (f Field) NodeArgumentsDefinition() int

func (Field) NodeDefaultValue

func (f Field) NodeDefaultValue() int

func (Field) NodeDescription

func (f Field) NodeDescription() ByteSliceReference

func (Field) NodeDirectiveDefinitions

func (f Field) NodeDirectiveDefinitions() []int

func (Field) NodeDirectiveSet

func (f Field) NodeDirectiveSet() int

func (Field) NodeEnumTypeDefinitions

func (f Field) NodeEnumTypeDefinitions() []int

func (Field) NodeEnumValuesDefinition

func (f Field) NodeEnumValuesDefinition() []int

func (Field) NodeFields

func (f Field) NodeFields() []int

func (Field) NodeFieldsDefinition

func (f Field) NodeFieldsDefinition() []int

func (Field) NodeFragmentSpreads

func (f Field) NodeFragmentSpreads() []int

func (Field) NodeImplementsInterfaces

func (f Field) NodeImplementsInterfaces() []int

func (Field) NodeInlineFragments

func (f Field) NodeInlineFragments() []int

func (Field) NodeInputFieldsDefinition

func (f Field) NodeInputFieldsDefinition() int

func (Field) NodeInputObjectTypeDefinitions

func (f Field) NodeInputObjectTypeDefinitions() []int

func (Field) NodeInputValueDefinitions

func (f Field) NodeInputValueDefinitions() []int

func (Field) NodeInterfaceTypeDefinitions

func (f Field) NodeInterfaceTypeDefinitions() []int

func (Field) NodeName

func (f Field) NodeName() int

func (Field) NodeObjectTypeDefinitions

func (f Field) NodeObjectTypeDefinitions() []int

func (Field) NodeOperationType

func (f Field) NodeOperationType() OperationType

func (Field) NodePosition

func (f Field) NodePosition() position.Position

func (Field) NodeScalarTypeDefinitions

func (f Field) NodeScalarTypeDefinitions() []int

func (Field) NodeSchemaDefinition

func (f Field) NodeSchemaDefinition() SchemaDefinition

func (Field) NodeSelectionSet

func (f Field) NodeSelectionSet() int

func (Field) NodeType

func (f Field) NodeType() int

func (Field) NodeUnionMemberTypes

func (f Field) NodeUnionMemberTypes() []int

func (Field) NodeUnionTypeDefinitions

func (f Field) NodeUnionTypeDefinitions() []int

func (Field) NodeValue

func (f Field) NodeValue() int

func (Field) NodeValueReference

func (f Field) NodeValueReference() int

func (Field) NodeValueType

func (f Field) NodeValueType() ValueType

func (Field) NodeVariableDefinitions

func (f Field) NodeVariableDefinitions() []int

type FieldDefinition

type FieldDefinition struct {
	Description         ByteSliceReference
	Name                int
	ArgumentsDefinition int
	Type                int
	DirectiveSet        int
	Position            position.Position
}

FieldDefinition as specified in: http://facebook.github.io/graphql/draft/#FieldDefinition

func (FieldDefinition) NodeAlias

func (f FieldDefinition) NodeAlias() int

func (FieldDefinition) NodeArgumentSet

func (f FieldDefinition) NodeArgumentSet() int

func (FieldDefinition) NodeArgumentsDefinition

func (f FieldDefinition) NodeArgumentsDefinition() int

func (FieldDefinition) NodeDefaultValue

func (f FieldDefinition) NodeDefaultValue() int

func (FieldDefinition) NodeDescription

func (f FieldDefinition) NodeDescription() ByteSliceReference

func (FieldDefinition) NodeDirectiveDefinitions

func (f FieldDefinition) NodeDirectiveDefinitions() []int

func (FieldDefinition) NodeDirectiveSet

func (f FieldDefinition) NodeDirectiveSet() int

func (FieldDefinition) NodeEnumTypeDefinitions

func (f FieldDefinition) NodeEnumTypeDefinitions() []int

func (FieldDefinition) NodeEnumValuesDefinition

func (f FieldDefinition) NodeEnumValuesDefinition() []int

func (FieldDefinition) NodeFields

func (f FieldDefinition) NodeFields() []int

func (FieldDefinition) NodeFieldsDefinition

func (f FieldDefinition) NodeFieldsDefinition() []int

func (FieldDefinition) NodeFragmentSpreads

func (f FieldDefinition) NodeFragmentSpreads() []int

func (FieldDefinition) NodeImplementsInterfaces

func (f FieldDefinition) NodeImplementsInterfaces() []int

func (FieldDefinition) NodeInlineFragments

func (f FieldDefinition) NodeInlineFragments() []int

func (FieldDefinition) NodeInputFieldsDefinition

func (f FieldDefinition) NodeInputFieldsDefinition() int

func (FieldDefinition) NodeInputObjectTypeDefinitions

func (f FieldDefinition) NodeInputObjectTypeDefinitions() []int

func (FieldDefinition) NodeInputValueDefinitions

func (f FieldDefinition) NodeInputValueDefinitions() []int

func (FieldDefinition) NodeInterfaceTypeDefinitions

func (f FieldDefinition) NodeInterfaceTypeDefinitions() []int

func (FieldDefinition) NodeName

func (f FieldDefinition) NodeName() int

func (FieldDefinition) NodeObjectTypeDefinitions

func (f FieldDefinition) NodeObjectTypeDefinitions() []int

func (FieldDefinition) NodeOperationType

func (f FieldDefinition) NodeOperationType() OperationType

func (FieldDefinition) NodePosition

func (f FieldDefinition) NodePosition() position.Position

func (FieldDefinition) NodeScalarTypeDefinitions

func (f FieldDefinition) NodeScalarTypeDefinitions() []int

func (FieldDefinition) NodeSchemaDefinition

func (f FieldDefinition) NodeSchemaDefinition() SchemaDefinition

func (FieldDefinition) NodeSelectionSet

func (f FieldDefinition) NodeSelectionSet() int

func (FieldDefinition) NodeType

func (f FieldDefinition) NodeType() int

func (FieldDefinition) NodeUnionMemberTypes

func (f FieldDefinition) NodeUnionMemberTypes() []int

func (FieldDefinition) NodeUnionTypeDefinitions

func (f FieldDefinition) NodeUnionTypeDefinitions() []int

func (FieldDefinition) NodeValue

func (f FieldDefinition) NodeValue() int

func (FieldDefinition) NodeValueReference

func (f FieldDefinition) NodeValueReference() int

func (FieldDefinition) NodeValueType

func (f FieldDefinition) NodeValueType() ValueType

func (FieldDefinition) NodeVariableDefinitions

func (f FieldDefinition) NodeVariableDefinitions() []int

type FieldDefinitions

type FieldDefinitions []FieldDefinition

FieldDefinitions as specified in: http://facebook.github.io/graphql/draft/#FieldsDefinition

type Fields

type Fields []Field

Fields is the plural of Field

type FragmentDefinition

type FragmentDefinition struct {
	FragmentName  int
	TypeCondition int
	DirectiveSet  int
	SelectionSet  int
	Position      position.Position
}

FragmentDefinition as specified in http://facebook.github.io/graphql/draft/#FragmentDefinition

func (FragmentDefinition) NodeAlias

func (f FragmentDefinition) NodeAlias() int

func (FragmentDefinition) NodeArgumentSet

func (f FragmentDefinition) NodeArgumentSet() int

func (FragmentDefinition) NodeArgumentsDefinition

func (f FragmentDefinition) NodeArgumentsDefinition() int

func (FragmentDefinition) NodeDefaultValue

func (f FragmentDefinition) NodeDefaultValue() int

func (FragmentDefinition) NodeDescription

func (f FragmentDefinition) NodeDescription() ByteSliceReference

func (FragmentDefinition) NodeDirectiveDefinitions

func (f FragmentDefinition) NodeDirectiveDefinitions() []int

func (FragmentDefinition) NodeDirectiveSet

func (f FragmentDefinition) NodeDirectiveSet() int

func (FragmentDefinition) NodeEnumTypeDefinitions

func (f FragmentDefinition) NodeEnumTypeDefinitions() []int

func (FragmentDefinition) NodeEnumValuesDefinition

func (f FragmentDefinition) NodeEnumValuesDefinition() []int

func (FragmentDefinition) NodeFields

func (f FragmentDefinition) NodeFields() []int

func (FragmentDefinition) NodeFieldsDefinition

func (f FragmentDefinition) NodeFieldsDefinition() []int

func (FragmentDefinition) NodeFragmentSpreads

func (f FragmentDefinition) NodeFragmentSpreads() []int

func (FragmentDefinition) NodeImplementsInterfaces

func (f FragmentDefinition) NodeImplementsInterfaces() []int

func (FragmentDefinition) NodeInlineFragments

func (f FragmentDefinition) NodeInlineFragments() []int

func (FragmentDefinition) NodeInputFieldsDefinition

func (f FragmentDefinition) NodeInputFieldsDefinition() int

func (FragmentDefinition) NodeInputObjectTypeDefinitions

func (f FragmentDefinition) NodeInputObjectTypeDefinitions() []int

func (FragmentDefinition) NodeInputValueDefinitions

func (f FragmentDefinition) NodeInputValueDefinitions() []int

func (FragmentDefinition) NodeInterfaceTypeDefinitions

func (f FragmentDefinition) NodeInterfaceTypeDefinitions() []int

func (FragmentDefinition) NodeName

func (f FragmentDefinition) NodeName() int

func (FragmentDefinition) NodeObjectTypeDefinitions

func (f FragmentDefinition) NodeObjectTypeDefinitions() []int

func (FragmentDefinition) NodeOperationType

func (f FragmentDefinition) NodeOperationType() OperationType

func (FragmentDefinition) NodePosition

func (f FragmentDefinition) NodePosition() position.Position

func (FragmentDefinition) NodeScalarTypeDefinitions

func (f FragmentDefinition) NodeScalarTypeDefinitions() []int

func (FragmentDefinition) NodeSchemaDefinition

func (f FragmentDefinition) NodeSchemaDefinition() SchemaDefinition

func (FragmentDefinition) NodeSelectionSet

func (f FragmentDefinition) NodeSelectionSet() int

func (FragmentDefinition) NodeType

func (f FragmentDefinition) NodeType() int

func (FragmentDefinition) NodeUnionMemberTypes

func (f FragmentDefinition) NodeUnionMemberTypes() []int

func (FragmentDefinition) NodeUnionTypeDefinitions

func (f FragmentDefinition) NodeUnionTypeDefinitions() []int

func (FragmentDefinition) NodeValue

func (f FragmentDefinition) NodeValue() int

func (FragmentDefinition) NodeValueReference

func (f FragmentDefinition) NodeValueReference() int

func (FragmentDefinition) NodeValueType

func (f FragmentDefinition) NodeValueType() ValueType

func (FragmentDefinition) NodeVariableDefinitions

func (f FragmentDefinition) NodeVariableDefinitions() []int

type FragmentDefinitions

type FragmentDefinitions []FragmentDefinition

FragmentDefinitions is the plural of FragmentDefinition

type FragmentSpread

type FragmentSpread struct {
	FragmentName int
	DirectiveSet int
	Position     position.Position
}

FragmentSpread as specified in: http://facebook.github.io/graphql/draft/#FragmentSpread

func (FragmentSpread) NodeAlias

func (f FragmentSpread) NodeAlias() int

func (FragmentSpread) NodeArgumentSet

func (f FragmentSpread) NodeArgumentSet() int

func (FragmentSpread) NodeArgumentsDefinition

func (f FragmentSpread) NodeArgumentsDefinition() int

func (FragmentSpread) NodeDefaultValue

func (f FragmentSpread) NodeDefaultValue() int

func (FragmentSpread) NodeDescription

func (f FragmentSpread) NodeDescription() ByteSliceReference

func (FragmentSpread) NodeDirectiveDefinitions

func (f FragmentSpread) NodeDirectiveDefinitions() []int

func (FragmentSpread) NodeDirectiveSet

func (f FragmentSpread) NodeDirectiveSet() int

func (FragmentSpread) NodeEnumTypeDefinitions

func (f FragmentSpread) NodeEnumTypeDefinitions() []int

func (FragmentSpread) NodeEnumValuesDefinition

func (f FragmentSpread) NodeEnumValuesDefinition() []int

func (FragmentSpread) NodeFields

func (f FragmentSpread) NodeFields() []int

func (FragmentSpread) NodeFieldsDefinition

func (f FragmentSpread) NodeFieldsDefinition() []int

func (FragmentSpread) NodeFragmentSpreads

func (f FragmentSpread) NodeFragmentSpreads() []int

func (FragmentSpread) NodeImplementsInterfaces

func (f FragmentSpread) NodeImplementsInterfaces() []int

func (FragmentSpread) NodeInlineFragments

func (f FragmentSpread) NodeInlineFragments() []int

func (FragmentSpread) NodeInputFieldsDefinition

func (f FragmentSpread) NodeInputFieldsDefinition() int

func (FragmentSpread) NodeInputObjectTypeDefinitions

func (f FragmentSpread) NodeInputObjectTypeDefinitions() []int

func (FragmentSpread) NodeInputValueDefinitions

func (f FragmentSpread) NodeInputValueDefinitions() []int

func (FragmentSpread) NodeInterfaceTypeDefinitions

func (f FragmentSpread) NodeInterfaceTypeDefinitions() []int

func (FragmentSpread) NodeName

func (f FragmentSpread) NodeName() int

func (FragmentSpread) NodeObjectTypeDefinitions

func (f FragmentSpread) NodeObjectTypeDefinitions() []int

func (FragmentSpread) NodeOperationType

func (f FragmentSpread) NodeOperationType() OperationType

func (FragmentSpread) NodePosition

func (f FragmentSpread) NodePosition() position.Position

func (FragmentSpread) NodeScalarTypeDefinitions

func (f FragmentSpread) NodeScalarTypeDefinitions() []int

func (FragmentSpread) NodeSchemaDefinition

func (f FragmentSpread) NodeSchemaDefinition() SchemaDefinition

func (FragmentSpread) NodeSelectionSet

func (f FragmentSpread) NodeSelectionSet() int

func (FragmentSpread) NodeType

func (f FragmentSpread) NodeType() int

func (FragmentSpread) NodeUnionMemberTypes

func (f FragmentSpread) NodeUnionMemberTypes() []int

func (FragmentSpread) NodeUnionTypeDefinitions

func (f FragmentSpread) NodeUnionTypeDefinitions() []int

func (FragmentSpread) NodeValue

func (f FragmentSpread) NodeValue() int

func (FragmentSpread) NodeValueReference

func (f FragmentSpread) NodeValueReference() int

func (FragmentSpread) NodeValueType

func (f FragmentSpread) NodeValueType() ValueType

func (FragmentSpread) NodeVariableDefinitions

func (f FragmentSpread) NodeVariableDefinitions() []int

type FragmentSpreads

type FragmentSpreads []FragmentSpread

FragmentSpreads is the plural of FragmentSpread

type ImplementsInterfaces

type ImplementsInterfaces []int

ImplementsInterfaces as specified in: http://facebook.github.io/graphql/draft/#ImplementsInterfaces

type InlineFragment

type InlineFragment struct {
	TypeCondition int
	DirectiveSet  int
	SelectionSet  int
	Position      position.Position
}

InlineFragment as specified in: http://facebook.github.io/graphql/draft/#InlineFragment

func (InlineFragment) NodeAlias

func (i InlineFragment) NodeAlias() int

func (InlineFragment) NodeArgumentSet

func (i InlineFragment) NodeArgumentSet() int

func (InlineFragment) NodeArgumentsDefinition

func (i InlineFragment) NodeArgumentsDefinition() int

func (InlineFragment) NodeDefaultValue

func (i InlineFragment) NodeDefaultValue() int

func (InlineFragment) NodeDescription

func (i InlineFragment) NodeDescription() ByteSliceReference

func (InlineFragment) NodeDirectiveDefinitions

func (i InlineFragment) NodeDirectiveDefinitions() []int

func (InlineFragment) NodeDirectiveSet

func (i InlineFragment) NodeDirectiveSet() int

func (InlineFragment) NodeEnumTypeDefinitions

func (i InlineFragment) NodeEnumTypeDefinitions() []int

func (InlineFragment) NodeEnumValuesDefinition

func (i InlineFragment) NodeEnumValuesDefinition() []int

func (InlineFragment) NodeFields

func (i InlineFragment) NodeFields() []int

func (InlineFragment) NodeFieldsDefinition

func (i InlineFragment) NodeFieldsDefinition() []int

func (InlineFragment) NodeFragmentSpreads

func (i InlineFragment) NodeFragmentSpreads() []int

func (InlineFragment) NodeImplementsInterfaces

func (i InlineFragment) NodeImplementsInterfaces() []int

func (InlineFragment) NodeInlineFragments

func (i InlineFragment) NodeInlineFragments() []int

func (InlineFragment) NodeInputFieldsDefinition

func (i InlineFragment) NodeInputFieldsDefinition() int

func (InlineFragment) NodeInputObjectTypeDefinitions

func (i InlineFragment) NodeInputObjectTypeDefinitions() []int

func (InlineFragment) NodeInputValueDefinitions

func (i InlineFragment) NodeInputValueDefinitions() []int

func (InlineFragment) NodeInterfaceTypeDefinitions

func (i InlineFragment) NodeInterfaceTypeDefinitions() []int

func (InlineFragment) NodeName

func (i InlineFragment) NodeName() int

func (InlineFragment) NodeObjectTypeDefinitions

func (i InlineFragment) NodeObjectTypeDefinitions() []int

func (InlineFragment) NodeOperationType

func (i InlineFragment) NodeOperationType() OperationType

func (InlineFragment) NodePosition

func (i InlineFragment) NodePosition() position.Position

func (InlineFragment) NodeScalarTypeDefinitions

func (i InlineFragment) NodeScalarTypeDefinitions() []int

func (InlineFragment) NodeSchemaDefinition

func (i InlineFragment) NodeSchemaDefinition() SchemaDefinition

func (InlineFragment) NodeSelectionSet

func (i InlineFragment) NodeSelectionSet() int

func (InlineFragment) NodeType

func (i InlineFragment) NodeType() int

func (InlineFragment) NodeUnionMemberTypes

func (i InlineFragment) NodeUnionMemberTypes() []int

func (InlineFragment) NodeUnionTypeDefinitions

func (i InlineFragment) NodeUnionTypeDefinitions() []int

func (InlineFragment) NodeValue

func (i InlineFragment) NodeValue() int

func (InlineFragment) NodeValueReference

func (i InlineFragment) NodeValueReference() int

func (InlineFragment) NodeValueType

func (i InlineFragment) NodeValueType() ValueType

func (InlineFragment) NodeVariableDefinitions

func (i InlineFragment) NodeVariableDefinitions() []int

type InlineFragments

type InlineFragments []InlineFragment

InlineFragments is the plural of InlineFragment

type InputFieldsDefinition

type InputFieldsDefinition struct {
	Position              position.Position
	InputValueDefinitions []int
}

InputFieldsDefinition as specified in: https://facebook.github.io/graphql/draft/#InputFieldsDefinition

func (InputFieldsDefinition) NodeAlias

func (i InputFieldsDefinition) NodeAlias() int

func (InputFieldsDefinition) NodeArgumentSet

func (i InputFieldsDefinition) NodeArgumentSet() int

func (InputFieldsDefinition) NodeArgumentsDefinition

func (i InputFieldsDefinition) NodeArgumentsDefinition() int

func (InputFieldsDefinition) NodeDefaultValue

func (i InputFieldsDefinition) NodeDefaultValue() int

func (InputFieldsDefinition) NodeDescription

func (i InputFieldsDefinition) NodeDescription() ByteSliceReference

func (InputFieldsDefinition) NodeDirectiveDefinitions

func (i InputFieldsDefinition) NodeDirectiveDefinitions() []int

func (InputFieldsDefinition) NodeDirectiveSet

func (i InputFieldsDefinition) NodeDirectiveSet() int

func (InputFieldsDefinition) NodeEnumTypeDefinitions

func (i InputFieldsDefinition) NodeEnumTypeDefinitions() []int

func (InputFieldsDefinition) NodeEnumValuesDefinition

func (i InputFieldsDefinition) NodeEnumValuesDefinition() []int

func (InputFieldsDefinition) NodeFields

func (i InputFieldsDefinition) NodeFields() []int

func (InputFieldsDefinition) NodeFieldsDefinition

func (i InputFieldsDefinition) NodeFieldsDefinition() []int

func (InputFieldsDefinition) NodeFragmentSpreads

func (i InputFieldsDefinition) NodeFragmentSpreads() []int

func (InputFieldsDefinition) NodeImplementsInterfaces

func (i InputFieldsDefinition) NodeImplementsInterfaces() []int

func (InputFieldsDefinition) NodeInlineFragments

func (i InputFieldsDefinition) NodeInlineFragments() []int

func (InputFieldsDefinition) NodeInputFieldsDefinition

func (i InputFieldsDefinition) NodeInputFieldsDefinition() int

func (InputFieldsDefinition) NodeInputObjectTypeDefinitions

func (i InputFieldsDefinition) NodeInputObjectTypeDefinitions() []int

func (InputFieldsDefinition) NodeInputValueDefinitions

func (i InputFieldsDefinition) NodeInputValueDefinitions() []int

func (InputFieldsDefinition) NodeInterfaceTypeDefinitions

func (i InputFieldsDefinition) NodeInterfaceTypeDefinitions() []int

func (InputFieldsDefinition) NodeName

func (i InputFieldsDefinition) NodeName() int

func (InputFieldsDefinition) NodeObjectTypeDefinitions

func (i InputFieldsDefinition) NodeObjectTypeDefinitions() []int

func (InputFieldsDefinition) NodeOperationType

func (i InputFieldsDefinition) NodeOperationType() OperationType

func (InputFieldsDefinition) NodePosition

func (i InputFieldsDefinition) NodePosition() position.Position

func (InputFieldsDefinition) NodeScalarTypeDefinitions

func (i InputFieldsDefinition) NodeScalarTypeDefinitions() []int

func (InputFieldsDefinition) NodeSchemaDefinition

func (i InputFieldsDefinition) NodeSchemaDefinition() SchemaDefinition

func (InputFieldsDefinition) NodeSelectionSet

func (i InputFieldsDefinition) NodeSelectionSet() int

func (InputFieldsDefinition) NodeType

func (i InputFieldsDefinition) NodeType() int

func (InputFieldsDefinition) NodeUnionMemberTypes

func (i InputFieldsDefinition) NodeUnionMemberTypes() []int

func (InputFieldsDefinition) NodeUnionTypeDefinitions

func (i InputFieldsDefinition) NodeUnionTypeDefinitions() []int

func (InputFieldsDefinition) NodeValue

func (i InputFieldsDefinition) NodeValue() int

func (InputFieldsDefinition) NodeValueReference

func (i InputFieldsDefinition) NodeValueReference() int

func (InputFieldsDefinition) NodeValueType

func (i InputFieldsDefinition) NodeValueType() ValueType

func (InputFieldsDefinition) NodeVariableDefinitions

func (i InputFieldsDefinition) NodeVariableDefinitions() []int

type InputFieldsDefinitionNode

type InputFieldsDefinitionNode interface {
	NodeInputFieldsDefinition() int
}

type InputFieldsDefinitions

type InputFieldsDefinitions []InputFieldsDefinition

type InputObjectTypeDefinition

type InputObjectTypeDefinition struct {
	Description           ByteSliceReference
	Name                  int
	InputFieldsDefinition int
	DirectiveSet          int
	Position              position.Position
}

InputObjectTypeDefinition as specified in: http://facebook.github.io/graphql/draft/#InputObjectTypeDefinition

func (InputObjectTypeDefinition) NodeAlias

func (i InputObjectTypeDefinition) NodeAlias() int

func (InputObjectTypeDefinition) NodeArgumentSet

func (i InputObjectTypeDefinition) NodeArgumentSet() int

func (InputObjectTypeDefinition) NodeArgumentsDefinition

func (i InputObjectTypeDefinition) NodeArgumentsDefinition() int

func (InputObjectTypeDefinition) NodeDefaultValue

func (i InputObjectTypeDefinition) NodeDefaultValue() int

func (InputObjectTypeDefinition) NodeDescription

func (i InputObjectTypeDefinition) NodeDescription() ByteSliceReference

func (InputObjectTypeDefinition) NodeDirectiveDefinitions

func (i InputObjectTypeDefinition) NodeDirectiveDefinitions() []int

func (InputObjectTypeDefinition) NodeDirectiveSet

func (i InputObjectTypeDefinition) NodeDirectiveSet() int

func (InputObjectTypeDefinition) NodeEnumTypeDefinitions

func (i InputObjectTypeDefinition) NodeEnumTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeEnumValuesDefinition

func (i InputObjectTypeDefinition) NodeEnumValuesDefinition() []int

func (InputObjectTypeDefinition) NodeFields

func (i InputObjectTypeDefinition) NodeFields() []int

func (InputObjectTypeDefinition) NodeFieldsDefinition

func (i InputObjectTypeDefinition) NodeFieldsDefinition() []int

func (InputObjectTypeDefinition) NodeFragmentSpreads

func (i InputObjectTypeDefinition) NodeFragmentSpreads() []int

func (InputObjectTypeDefinition) NodeImplementsInterfaces

func (i InputObjectTypeDefinition) NodeImplementsInterfaces() []int

func (InputObjectTypeDefinition) NodeInlineFragments

func (i InputObjectTypeDefinition) NodeInlineFragments() []int

func (InputObjectTypeDefinition) NodeInputFieldsDefinition

func (i InputObjectTypeDefinition) NodeInputFieldsDefinition() int

func (InputObjectTypeDefinition) NodeInputObjectTypeDefinitions

func (i InputObjectTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeInputValueDefinitions

func (i InputObjectTypeDefinition) NodeInputValueDefinitions() []int

func (InputObjectTypeDefinition) NodeInterfaceTypeDefinitions

func (i InputObjectTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeName

func (i InputObjectTypeDefinition) NodeName() int

func (InputObjectTypeDefinition) NodeObjectTypeDefinitions

func (i InputObjectTypeDefinition) NodeObjectTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeOperationType

func (i InputObjectTypeDefinition) NodeOperationType() OperationType

func (InputObjectTypeDefinition) NodePosition

func (i InputObjectTypeDefinition) NodePosition() position.Position

func (InputObjectTypeDefinition) NodeScalarTypeDefinitions

func (i InputObjectTypeDefinition) NodeScalarTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeSchemaDefinition

func (i InputObjectTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (InputObjectTypeDefinition) NodeSelectionSet

func (i InputObjectTypeDefinition) NodeSelectionSet() int

func (InputObjectTypeDefinition) NodeType

func (i InputObjectTypeDefinition) NodeType() int

func (InputObjectTypeDefinition) NodeUnionMemberTypes

func (i InputObjectTypeDefinition) NodeUnionMemberTypes() []int

func (InputObjectTypeDefinition) NodeUnionTypeDefinitions

func (i InputObjectTypeDefinition) NodeUnionTypeDefinitions() []int

func (InputObjectTypeDefinition) NodeValue

func (i InputObjectTypeDefinition) NodeValue() int

func (InputObjectTypeDefinition) NodeValueReference

func (i InputObjectTypeDefinition) NodeValueReference() int

func (InputObjectTypeDefinition) NodeValueType

func (i InputObjectTypeDefinition) NodeValueType() ValueType

func (InputObjectTypeDefinition) NodeVariableDefinitions

func (i InputObjectTypeDefinition) NodeVariableDefinitions() []int

type InputObjectTypeDefinitions

type InputObjectTypeDefinitions []InputObjectTypeDefinition

InputObjectTypeDefinitions is the plural of InputObjectTypeDefinition

type InputValueDefinition

type InputValueDefinition struct {
	Description  ByteSliceReference
	Name         int
	Type         int
	DefaultValue int
	DirectiveSet int
	Position     position.Position
}

InputValueDefinition as specified in: http://facebook.github.io/graphql/draft/#InputValueDefinition

func (InputValueDefinition) NodeAlias

func (i InputValueDefinition) NodeAlias() int

func (InputValueDefinition) NodeArgumentSet

func (i InputValueDefinition) NodeArgumentSet() int

func (InputValueDefinition) NodeArgumentsDefinition

func (i InputValueDefinition) NodeArgumentsDefinition() int

func (InputValueDefinition) NodeDefaultValue

func (i InputValueDefinition) NodeDefaultValue() int

func (InputValueDefinition) NodeDescription

func (i InputValueDefinition) NodeDescription() ByteSliceReference

func (InputValueDefinition) NodeDirectiveDefinitions

func (i InputValueDefinition) NodeDirectiveDefinitions() []int

func (InputValueDefinition) NodeDirectiveSet

func (i InputValueDefinition) NodeDirectiveSet() int

func (InputValueDefinition) NodeEnumTypeDefinitions

func (i InputValueDefinition) NodeEnumTypeDefinitions() []int

func (InputValueDefinition) NodeEnumValuesDefinition

func (i InputValueDefinition) NodeEnumValuesDefinition() []int

func (InputValueDefinition) NodeFields

func (i InputValueDefinition) NodeFields() []int

func (InputValueDefinition) NodeFieldsDefinition

func (i InputValueDefinition) NodeFieldsDefinition() []int

func (InputValueDefinition) NodeFragmentSpreads

func (i InputValueDefinition) NodeFragmentSpreads() []int

func (InputValueDefinition) NodeImplementsInterfaces

func (i InputValueDefinition) NodeImplementsInterfaces() []int

func (InputValueDefinition) NodeInlineFragments

func (i InputValueDefinition) NodeInlineFragments() []int

func (InputValueDefinition) NodeInputFieldsDefinition

func (i InputValueDefinition) NodeInputFieldsDefinition() int

func (InputValueDefinition) NodeInputObjectTypeDefinitions

func (i InputValueDefinition) NodeInputObjectTypeDefinitions() []int

func (InputValueDefinition) NodeInputValueDefinitions

func (i InputValueDefinition) NodeInputValueDefinitions() []int

func (InputValueDefinition) NodeInterfaceTypeDefinitions

func (i InputValueDefinition) NodeInterfaceTypeDefinitions() []int

func (InputValueDefinition) NodeName

func (i InputValueDefinition) NodeName() int

func (InputValueDefinition) NodeObjectTypeDefinitions

func (i InputValueDefinition) NodeObjectTypeDefinitions() []int

func (InputValueDefinition) NodeOperationType

func (i InputValueDefinition) NodeOperationType() OperationType

func (InputValueDefinition) NodePosition

func (i InputValueDefinition) NodePosition() position.Position

func (InputValueDefinition) NodeScalarTypeDefinitions

func (i InputValueDefinition) NodeScalarTypeDefinitions() []int

func (InputValueDefinition) NodeSchemaDefinition

func (i InputValueDefinition) NodeSchemaDefinition() SchemaDefinition

func (InputValueDefinition) NodeSelectionSet

func (i InputValueDefinition) NodeSelectionSet() int

func (InputValueDefinition) NodeType

func (i InputValueDefinition) NodeType() int

func (InputValueDefinition) NodeUnionMemberTypes

func (i InputValueDefinition) NodeUnionMemberTypes() []int

func (InputValueDefinition) NodeUnionTypeDefinitions

func (i InputValueDefinition) NodeUnionTypeDefinitions() []int

func (InputValueDefinition) NodeValue

func (i InputValueDefinition) NodeValue() int

func (InputValueDefinition) NodeValueReference

func (i InputValueDefinition) NodeValueReference() int

func (InputValueDefinition) NodeValueType

func (i InputValueDefinition) NodeValueType() ValueType

func (InputValueDefinition) NodeVariableDefinitions

func (i InputValueDefinition) NodeVariableDefinitions() []int

type InputValueDefinitions

type InputValueDefinitions []InputValueDefinition

type InputValueDefinitionsNode

type InputValueDefinitionsNode interface {
	NodeInputValueDefinitions() []int
}

type InterfaceTypeDefinition

type InterfaceTypeDefinition struct {
	Description      ByteSliceReference
	Name             int
	FieldsDefinition []int
	DirectiveSet     int
	Position         position.Position
}

InterfaceTypeDefinition as specified in: http://facebook.github.io/graphql/draft/#InterfaceTypeDefinition

func (InterfaceTypeDefinition) NodeAlias

func (i InterfaceTypeDefinition) NodeAlias() int

func (InterfaceTypeDefinition) NodeArgumentSet

func (i InterfaceTypeDefinition) NodeArgumentSet() int

func (InterfaceTypeDefinition) NodeArgumentsDefinition

func (i InterfaceTypeDefinition) NodeArgumentsDefinition() int

func (InterfaceTypeDefinition) NodeDefaultValue

func (i InterfaceTypeDefinition) NodeDefaultValue() int

func (InterfaceTypeDefinition) NodeDescription

func (i InterfaceTypeDefinition) NodeDescription() ByteSliceReference

func (InterfaceTypeDefinition) NodeDirectiveDefinitions

func (i InterfaceTypeDefinition) NodeDirectiveDefinitions() []int

func (InterfaceTypeDefinition) NodeDirectiveSet

func (i InterfaceTypeDefinition) NodeDirectiveSet() int

func (InterfaceTypeDefinition) NodeEnumTypeDefinitions

func (i InterfaceTypeDefinition) NodeEnumTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeEnumValuesDefinition

func (i InterfaceTypeDefinition) NodeEnumValuesDefinition() []int

func (InterfaceTypeDefinition) NodeFields

func (i InterfaceTypeDefinition) NodeFields() []int

func (InterfaceTypeDefinition) NodeFieldsDefinition

func (i InterfaceTypeDefinition) NodeFieldsDefinition() []int

func (InterfaceTypeDefinition) NodeFragmentSpreads

func (i InterfaceTypeDefinition) NodeFragmentSpreads() []int

func (InterfaceTypeDefinition) NodeImplementsInterfaces

func (i InterfaceTypeDefinition) NodeImplementsInterfaces() []int

func (InterfaceTypeDefinition) NodeInlineFragments

func (i InterfaceTypeDefinition) NodeInlineFragments() []int

func (InterfaceTypeDefinition) NodeInputFieldsDefinition

func (i InterfaceTypeDefinition) NodeInputFieldsDefinition() int

func (InterfaceTypeDefinition) NodeInputObjectTypeDefinitions

func (i InterfaceTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeInputValueDefinitions

func (i InterfaceTypeDefinition) NodeInputValueDefinitions() []int

func (InterfaceTypeDefinition) NodeInterfaceTypeDefinitions

func (i InterfaceTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeName

func (i InterfaceTypeDefinition) NodeName() int

func (InterfaceTypeDefinition) NodeObjectTypeDefinitions

func (i InterfaceTypeDefinition) NodeObjectTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeOperationType

func (i InterfaceTypeDefinition) NodeOperationType() OperationType

func (InterfaceTypeDefinition) NodePosition

func (i InterfaceTypeDefinition) NodePosition() position.Position

func (InterfaceTypeDefinition) NodeScalarTypeDefinitions

func (i InterfaceTypeDefinition) NodeScalarTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeSchemaDefinition

func (i InterfaceTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (InterfaceTypeDefinition) NodeSelectionSet

func (i InterfaceTypeDefinition) NodeSelectionSet() int

func (InterfaceTypeDefinition) NodeType

func (i InterfaceTypeDefinition) NodeType() int

func (InterfaceTypeDefinition) NodeUnionMemberTypes

func (i InterfaceTypeDefinition) NodeUnionMemberTypes() []int

func (InterfaceTypeDefinition) NodeUnionTypeDefinitions

func (i InterfaceTypeDefinition) NodeUnionTypeDefinitions() []int

func (InterfaceTypeDefinition) NodeValue

func (i InterfaceTypeDefinition) NodeValue() int

func (InterfaceTypeDefinition) NodeValueReference

func (i InterfaceTypeDefinition) NodeValueReference() int

func (InterfaceTypeDefinition) NodeValueType

func (i InterfaceTypeDefinition) NodeValueType() ValueType

func (InterfaceTypeDefinition) NodeVariableDefinitions

func (i InterfaceTypeDefinition) NodeVariableDefinitions() []int

type InterfaceTypeDefinitions

type InterfaceTypeDefinitions []InterfaceTypeDefinition

InterfaceTypeDefinitions is the plural of InterfaceTypeDefinition

type Kind

type Kind string

Kind is the graphql object kind as specified in: https://facebook.github.io/graphql/draft/#sec-Type-Kinds

const (
	KindObject      Kind = "KIND"
	KindScalar      Kind = "SCALAR"
	KindInterface   Kind = "INTERFACE"
	KindUnion       Kind = "UNION"
	KindEnum        Kind = "ENUM"
	KindInputObject Kind = "INPUT_OBJECT"
	KindList        Kind = "LIST"
	KindNonNull     Kind = "NON_NULL"
)

... various kind types

type ListValue

type ListValue []int

type Node

type Node interface {
	NodeName() int
	NodeAlias() int
	NodeDescription() ByteSliceReference
	NodeArgumentSet() int
	NodeArgumentsDefinition() int
	NodeDirectiveSet() int // Change Signature to int (DirectiveSet)
	NodeEnumValuesDefinition() []int
	NodeSelectionSet() int
	NodeFields() []int
	NodeFieldsDefinition() []int
	NodeFragmentSpreads() []int
	NodeInlineFragments() []int
	NodeVariableDefinitions() []int
	NodeType() int
	NodeOperationType() OperationType
	NodeValue() int
	NodeDefaultValue() int
	NodeImplementsInterfaces() []int
	InputValueDefinitionsNode
	TypeSystemDefinitionNode
	UnionTypeSystemDefinitionNode
	ValueNode
	PositionNode
	InputFieldsDefinitionNode
}

type ObjectField

type ObjectField struct {
	Name     int
	Value    int
	Position position.Position
}

ObjectField as specified in: http://facebook.github.io/graphql/draft/#ObjectField

func (ObjectField) NodeAlias

func (o ObjectField) NodeAlias() int

func (ObjectField) NodeArgumentSet

func (o ObjectField) NodeArgumentSet() int

func (ObjectField) NodeArgumentsDefinition

func (o ObjectField) NodeArgumentsDefinition() int

func (ObjectField) NodeDefaultValue

func (o ObjectField) NodeDefaultValue() int

func (ObjectField) NodeDescription

func (o ObjectField) NodeDescription() ByteSliceReference

func (ObjectField) NodeDirectiveDefinitions

func (o ObjectField) NodeDirectiveDefinitions() []int

func (ObjectField) NodeDirectiveSet

func (o ObjectField) NodeDirectiveSet() int

func (ObjectField) NodeEnumTypeDefinitions

func (o ObjectField) NodeEnumTypeDefinitions() []int

func (ObjectField) NodeEnumValuesDefinition

func (o ObjectField) NodeEnumValuesDefinition() []int

func (ObjectField) NodeFields

func (o ObjectField) NodeFields() []int

func (ObjectField) NodeFieldsDefinition

func (o ObjectField) NodeFieldsDefinition() []int

func (ObjectField) NodeFragmentSpreads

func (o ObjectField) NodeFragmentSpreads() []int

func (ObjectField) NodeImplementsInterfaces

func (o ObjectField) NodeImplementsInterfaces() []int

func (ObjectField) NodeInlineFragments

func (o ObjectField) NodeInlineFragments() []int

func (ObjectField) NodeInputFieldsDefinition

func (o ObjectField) NodeInputFieldsDefinition() int

func (ObjectField) NodeInputObjectTypeDefinitions

func (o ObjectField) NodeInputObjectTypeDefinitions() []int

func (ObjectField) NodeInputValueDefinitions

func (o ObjectField) NodeInputValueDefinitions() []int

func (ObjectField) NodeInterfaceTypeDefinitions

func (o ObjectField) NodeInterfaceTypeDefinitions() []int

func (ObjectField) NodeName

func (o ObjectField) NodeName() int

func (ObjectField) NodeObjectTypeDefinitions

func (o ObjectField) NodeObjectTypeDefinitions() []int

func (ObjectField) NodeOperationType

func (o ObjectField) NodeOperationType() OperationType

func (ObjectField) NodePosition

func (o ObjectField) NodePosition() position.Position

func (ObjectField) NodeScalarTypeDefinitions

func (o ObjectField) NodeScalarTypeDefinitions() []int

func (ObjectField) NodeSchemaDefinition

func (o ObjectField) NodeSchemaDefinition() SchemaDefinition

func (ObjectField) NodeSelectionSet

func (o ObjectField) NodeSelectionSet() int

func (ObjectField) NodeType

func (o ObjectField) NodeType() int

func (ObjectField) NodeUnionMemberTypes

func (o ObjectField) NodeUnionMemberTypes() []int

func (ObjectField) NodeUnionTypeDefinitions

func (o ObjectField) NodeUnionTypeDefinitions() []int

func (ObjectField) NodeValue

func (o ObjectField) NodeValue() int

func (ObjectField) NodeValueReference

func (o ObjectField) NodeValueReference() int

func (ObjectField) NodeValueType

func (o ObjectField) NodeValueType() ValueType

func (ObjectField) NodeVariableDefinitions

func (o ObjectField) NodeVariableDefinitions() []int

type ObjectFields

type ObjectFields []ObjectField

ObjectFields is the plural of ObjectField

type ObjectTypeDefinition

type ObjectTypeDefinition struct {
	Description          ByteSliceReference
	Name                 int
	FieldsDefinition     []int
	ImplementsInterfaces ImplementsInterfaces
	DirectiveSet         int
	Position             position.Position
}

ObjectTypeDefinitionByNameRef as specified in: http://facebook.github.io/graphql/draft/#ObjectTypeDefinition

func (ObjectTypeDefinition) NodeAlias

func (o ObjectTypeDefinition) NodeAlias() int

func (ObjectTypeDefinition) NodeArgumentSet

func (o ObjectTypeDefinition) NodeArgumentSet() int

func (ObjectTypeDefinition) NodeArgumentsDefinition

func (o ObjectTypeDefinition) NodeArgumentsDefinition() int

func (ObjectTypeDefinition) NodeDefaultValue

func (o ObjectTypeDefinition) NodeDefaultValue() int

func (ObjectTypeDefinition) NodeDescription

func (o ObjectTypeDefinition) NodeDescription() ByteSliceReference

func (ObjectTypeDefinition) NodeDirectiveDefinitions

func (o ObjectTypeDefinition) NodeDirectiveDefinitions() []int

func (ObjectTypeDefinition) NodeDirectiveSet

func (o ObjectTypeDefinition) NodeDirectiveSet() int

func (ObjectTypeDefinition) NodeEnumTypeDefinitions

func (o ObjectTypeDefinition) NodeEnumTypeDefinitions() []int

func (ObjectTypeDefinition) NodeEnumValuesDefinition

func (o ObjectTypeDefinition) NodeEnumValuesDefinition() []int

func (ObjectTypeDefinition) NodeFields

func (o ObjectTypeDefinition) NodeFields() []int

func (ObjectTypeDefinition) NodeFieldsDefinition

func (o ObjectTypeDefinition) NodeFieldsDefinition() []int

func (ObjectTypeDefinition) NodeFragmentSpreads

func (o ObjectTypeDefinition) NodeFragmentSpreads() []int

func (ObjectTypeDefinition) NodeImplementsInterfaces

func (o ObjectTypeDefinition) NodeImplementsInterfaces() []int

func (ObjectTypeDefinition) NodeInlineFragments

func (o ObjectTypeDefinition) NodeInlineFragments() []int

func (ObjectTypeDefinition) NodeInputFieldsDefinition

func (o ObjectTypeDefinition) NodeInputFieldsDefinition() int

func (ObjectTypeDefinition) NodeInputObjectTypeDefinitions

func (o ObjectTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (ObjectTypeDefinition) NodeInputValueDefinitions

func (o ObjectTypeDefinition) NodeInputValueDefinitions() []int

func (ObjectTypeDefinition) NodeInterfaceTypeDefinitions

func (o ObjectTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (ObjectTypeDefinition) NodeName

func (o ObjectTypeDefinition) NodeName() int

func (ObjectTypeDefinition) NodeObjectTypeDefinitions

func (o ObjectTypeDefinition) NodeObjectTypeDefinitions() []int

func (ObjectTypeDefinition) NodeOperationType

func (o ObjectTypeDefinition) NodeOperationType() OperationType

func (ObjectTypeDefinition) NodePosition

func (o ObjectTypeDefinition) NodePosition() position.Position

func (ObjectTypeDefinition) NodeScalarTypeDefinitions

func (o ObjectTypeDefinition) NodeScalarTypeDefinitions() []int

func (ObjectTypeDefinition) NodeSchemaDefinition

func (o ObjectTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (ObjectTypeDefinition) NodeSelectionSet

func (o ObjectTypeDefinition) NodeSelectionSet() int

func (ObjectTypeDefinition) NodeType

func (o ObjectTypeDefinition) NodeType() int

func (ObjectTypeDefinition) NodeUnionMemberTypes

func (o ObjectTypeDefinition) NodeUnionMemberTypes() []int

func (ObjectTypeDefinition) NodeUnionTypeDefinitions

func (o ObjectTypeDefinition) NodeUnionTypeDefinitions() []int

func (ObjectTypeDefinition) NodeValue

func (o ObjectTypeDefinition) NodeValue() int

func (ObjectTypeDefinition) NodeValueReference

func (o ObjectTypeDefinition) NodeValueReference() int

func (ObjectTypeDefinition) NodeValueType

func (o ObjectTypeDefinition) NodeValueType() ValueType

func (ObjectTypeDefinition) NodeVariableDefinitions

func (o ObjectTypeDefinition) NodeVariableDefinitions() []int

type ObjectTypeDefinitions

type ObjectTypeDefinitions []ObjectTypeDefinition

ObjectTypeDefinitions is the plural of ObjectTypeDefinitionByNameRef

type ObjectValue

type ObjectValue []int

type OperationDefinition

type OperationDefinition struct {
	OperationType       OperationType
	Name                int
	VariableDefinitions []int
	DirectiveSet        int
	SelectionSet        int
	Position            position.Position
}

OperationDefinition as specified in: http://facebook.github.io/graphql/draft/#OperationDefinition

func (OperationDefinition) NodeAlias

func (o OperationDefinition) NodeAlias() int

func (OperationDefinition) NodeArgumentSet

func (o OperationDefinition) NodeArgumentSet() int

func (OperationDefinition) NodeArgumentsDefinition

func (o OperationDefinition) NodeArgumentsDefinition() int

func (OperationDefinition) NodeDefaultValue

func (o OperationDefinition) NodeDefaultValue() int

func (OperationDefinition) NodeDescription

func (o OperationDefinition) NodeDescription() ByteSliceReference

func (OperationDefinition) NodeDirectiveDefinitions

func (o OperationDefinition) NodeDirectiveDefinitions() []int

func (OperationDefinition) NodeDirectiveSet

func (o OperationDefinition) NodeDirectiveSet() int

func (OperationDefinition) NodeEnumTypeDefinitions

func (o OperationDefinition) NodeEnumTypeDefinitions() []int

func (OperationDefinition) NodeEnumValuesDefinition

func (o OperationDefinition) NodeEnumValuesDefinition() []int

func (OperationDefinition) NodeFields

func (o OperationDefinition) NodeFields() []int

func (OperationDefinition) NodeFieldsDefinition

func (o OperationDefinition) NodeFieldsDefinition() []int

func (OperationDefinition) NodeFragmentSpreads

func (o OperationDefinition) NodeFragmentSpreads() []int

func (OperationDefinition) NodeImplementsInterfaces

func (o OperationDefinition) NodeImplementsInterfaces() []int

func (OperationDefinition) NodeInlineFragments

func (o OperationDefinition) NodeInlineFragments() []int

func (OperationDefinition) NodeInputFieldsDefinition

func (o OperationDefinition) NodeInputFieldsDefinition() int

func (OperationDefinition) NodeInputObjectTypeDefinitions

func (o OperationDefinition) NodeInputObjectTypeDefinitions() []int

func (OperationDefinition) NodeInputValueDefinitions

func (o OperationDefinition) NodeInputValueDefinitions() []int

func (OperationDefinition) NodeInterfaceTypeDefinitions

func (o OperationDefinition) NodeInterfaceTypeDefinitions() []int

func (OperationDefinition) NodeName

func (o OperationDefinition) NodeName() int

func (OperationDefinition) NodeObjectTypeDefinitions

func (o OperationDefinition) NodeObjectTypeDefinitions() []int

func (OperationDefinition) NodeOperationType

func (o OperationDefinition) NodeOperationType() OperationType

func (OperationDefinition) NodePosition

func (o OperationDefinition) NodePosition() position.Position

func (OperationDefinition) NodeScalarTypeDefinitions

func (o OperationDefinition) NodeScalarTypeDefinitions() []int

func (OperationDefinition) NodeSchemaDefinition

func (o OperationDefinition) NodeSchemaDefinition() SchemaDefinition

func (OperationDefinition) NodeSelectionSet

func (o OperationDefinition) NodeSelectionSet() int

func (OperationDefinition) NodeType

func (o OperationDefinition) NodeType() int

func (OperationDefinition) NodeUnionMemberTypes

func (o OperationDefinition) NodeUnionMemberTypes() []int

func (OperationDefinition) NodeUnionTypeDefinitions

func (o OperationDefinition) NodeUnionTypeDefinitions() []int

func (OperationDefinition) NodeValue

func (o OperationDefinition) NodeValue() int

func (OperationDefinition) NodeValueReference

func (o OperationDefinition) NodeValueReference() int

func (OperationDefinition) NodeValueType

func (o OperationDefinition) NodeValueType() ValueType

func (OperationDefinition) NodeVariableDefinitions

func (o OperationDefinition) NodeVariableDefinitions() []int

type OperationDefinitions

type OperationDefinitions []OperationDefinition

OperationDefinitions is the plural of OperationDefinition

type OperationType

type OperationType int

OperationType is the type of the Operation

ENUM( unknown query mutation subscription )

const (
	// OperationTypeUnknown is a OperationType of type Unknown
	OperationTypeUnknown OperationType = iota
	// OperationTypeQuery is a OperationType of type Query
	OperationTypeQuery
	// OperationTypeMutation is a OperationType of type Mutation
	OperationTypeMutation
	// OperationTypeSubscription is a OperationType of type Subscription
	OperationTypeSubscription
)

func ParseOperationType

func ParseOperationType(name string) (OperationType, error)

ParseOperationType attempts to convert a string to a OperationType

func (OperationType) String

func (x OperationType) String() string

String implements the Stringer interface.

type PositionNode

type PositionNode interface {
	NodePosition() position.Position
}

type RootOperationTypeDefinition

type RootOperationTypeDefinition string

RootOperationTypeDefinition as specified in http://facebook.github.io/graphql/draft/#RootOperationTypeDefinition

type ScalarTypeDefinition

type ScalarTypeDefinition struct {
	Description  ByteSliceReference
	Name         int
	DirectiveSet int
	Position     position.Position
}

ScalarTypeDefinition as specified in: http://facebook.github.io/graphql/draft/#sec-Scalars

func (ScalarTypeDefinition) NodeAlias

func (s ScalarTypeDefinition) NodeAlias() int

func (ScalarTypeDefinition) NodeArgumentSet

func (s ScalarTypeDefinition) NodeArgumentSet() int

func (ScalarTypeDefinition) NodeArgumentsDefinition

func (s ScalarTypeDefinition) NodeArgumentsDefinition() int

func (ScalarTypeDefinition) NodeDefaultValue

func (s ScalarTypeDefinition) NodeDefaultValue() int

func (ScalarTypeDefinition) NodeDescription

func (s ScalarTypeDefinition) NodeDescription() ByteSliceReference

func (ScalarTypeDefinition) NodeDirectiveDefinitions

func (s ScalarTypeDefinition) NodeDirectiveDefinitions() []int

func (ScalarTypeDefinition) NodeDirectiveSet

func (s ScalarTypeDefinition) NodeDirectiveSet() int

func (ScalarTypeDefinition) NodeEnumTypeDefinitions

func (s ScalarTypeDefinition) NodeEnumTypeDefinitions() []int

func (ScalarTypeDefinition) NodeEnumValuesDefinition

func (s ScalarTypeDefinition) NodeEnumValuesDefinition() []int

func (ScalarTypeDefinition) NodeFields

func (s ScalarTypeDefinition) NodeFields() []int

func (ScalarTypeDefinition) NodeFieldsDefinition

func (s ScalarTypeDefinition) NodeFieldsDefinition() []int

func (ScalarTypeDefinition) NodeFragmentSpreads

func (s ScalarTypeDefinition) NodeFragmentSpreads() []int

func (ScalarTypeDefinition) NodeImplementsInterfaces

func (s ScalarTypeDefinition) NodeImplementsInterfaces() []int

func (ScalarTypeDefinition) NodeInlineFragments

func (s ScalarTypeDefinition) NodeInlineFragments() []int

func (ScalarTypeDefinition) NodeInputFieldsDefinition

func (s ScalarTypeDefinition) NodeInputFieldsDefinition() int

func (ScalarTypeDefinition) NodeInputObjectTypeDefinitions

func (s ScalarTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (ScalarTypeDefinition) NodeInputValueDefinitions

func (s ScalarTypeDefinition) NodeInputValueDefinitions() []int

func (ScalarTypeDefinition) NodeInterfaceTypeDefinitions

func (s ScalarTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (ScalarTypeDefinition) NodeName

func (s ScalarTypeDefinition) NodeName() int

func (ScalarTypeDefinition) NodeObjectTypeDefinitions

func (s ScalarTypeDefinition) NodeObjectTypeDefinitions() []int

func (ScalarTypeDefinition) NodeOperationType

func (s ScalarTypeDefinition) NodeOperationType() OperationType

func (ScalarTypeDefinition) NodePosition

func (s ScalarTypeDefinition) NodePosition() position.Position

func (ScalarTypeDefinition) NodeScalarTypeDefinitions

func (s ScalarTypeDefinition) NodeScalarTypeDefinitions() []int

func (ScalarTypeDefinition) NodeSchemaDefinition

func (s ScalarTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (ScalarTypeDefinition) NodeSelectionSet

func (s ScalarTypeDefinition) NodeSelectionSet() int

func (ScalarTypeDefinition) NodeType

func (s ScalarTypeDefinition) NodeType() int

func (ScalarTypeDefinition) NodeUnionMemberTypes

func (s ScalarTypeDefinition) NodeUnionMemberTypes() []int

func (ScalarTypeDefinition) NodeUnionTypeDefinitions

func (s ScalarTypeDefinition) NodeUnionTypeDefinitions() []int

func (ScalarTypeDefinition) NodeValue

func (s ScalarTypeDefinition) NodeValue() int

func (ScalarTypeDefinition) NodeValueReference

func (s ScalarTypeDefinition) NodeValueReference() int

func (ScalarTypeDefinition) NodeValueType

func (s ScalarTypeDefinition) NodeValueType() ValueType

func (ScalarTypeDefinition) NodeVariableDefinitions

func (s ScalarTypeDefinition) NodeVariableDefinitions() []int

type ScalarTypeDefinitions

type ScalarTypeDefinitions []ScalarTypeDefinition

ScalarTypeDefinitions is the plural of ScalarTypeDefinition

type SchemaDefinition

type SchemaDefinition struct {
	Query        int
	Mutation     int
	Subscription int
	DirectiveSet int
	Position     position.Position
}

SchemaDefinition as specified in: http://facebook.github.io/graphql/draft/#SchemaDefinition

func (SchemaDefinition) DirectiveLocation

func (s SchemaDefinition) DirectiveLocation() DirectiveLocation

DirectiveLocation returns the related directive location of SchemaDefinition

func (SchemaDefinition) IsDefined

func (s SchemaDefinition) IsDefined() bool

IsDefined returns a bool depending on whether SchemaDefinition has already been defined

func (SchemaDefinition) NodeAlias

func (s SchemaDefinition) NodeAlias() int

func (SchemaDefinition) NodeArgumentSet

func (s SchemaDefinition) NodeArgumentSet() int

func (SchemaDefinition) NodeArgumentsDefinition

func (s SchemaDefinition) NodeArgumentsDefinition() int

func (SchemaDefinition) NodeDefaultValue

func (s SchemaDefinition) NodeDefaultValue() int

func (SchemaDefinition) NodeDescription

func (s SchemaDefinition) NodeDescription() ByteSliceReference

func (SchemaDefinition) NodeDirectiveDefinitions

func (s SchemaDefinition) NodeDirectiveDefinitions() []int

func (SchemaDefinition) NodeDirectiveSet

func (s SchemaDefinition) NodeDirectiveSet() int

func (SchemaDefinition) NodeEnumTypeDefinitions

func (s SchemaDefinition) NodeEnumTypeDefinitions() []int

func (SchemaDefinition) NodeEnumValuesDefinition

func (s SchemaDefinition) NodeEnumValuesDefinition() []int

func (SchemaDefinition) NodeFields

func (s SchemaDefinition) NodeFields() []int

func (SchemaDefinition) NodeFieldsDefinition

func (s SchemaDefinition) NodeFieldsDefinition() []int

func (SchemaDefinition) NodeFragmentSpreads

func (s SchemaDefinition) NodeFragmentSpreads() []int

func (SchemaDefinition) NodeImplementsInterfaces

func (s SchemaDefinition) NodeImplementsInterfaces() []int

func (SchemaDefinition) NodeInlineFragments

func (s SchemaDefinition) NodeInlineFragments() []int

func (SchemaDefinition) NodeInputFieldsDefinition

func (s SchemaDefinition) NodeInputFieldsDefinition() int

func (SchemaDefinition) NodeInputObjectTypeDefinitions

func (s SchemaDefinition) NodeInputObjectTypeDefinitions() []int

func (SchemaDefinition) NodeInputValueDefinitions

func (s SchemaDefinition) NodeInputValueDefinitions() []int

func (SchemaDefinition) NodeInterfaceTypeDefinitions

func (s SchemaDefinition) NodeInterfaceTypeDefinitions() []int

func (SchemaDefinition) NodeName

func (s SchemaDefinition) NodeName() int

func (SchemaDefinition) NodeObjectTypeDefinitions

func (s SchemaDefinition) NodeObjectTypeDefinitions() []int

func (SchemaDefinition) NodeOperationType

func (s SchemaDefinition) NodeOperationType() OperationType

func (SchemaDefinition) NodePosition

func (s SchemaDefinition) NodePosition() position.Position

func (SchemaDefinition) NodeScalarTypeDefinitions

func (s SchemaDefinition) NodeScalarTypeDefinitions() []int

func (SchemaDefinition) NodeSchemaDefinition

func (s SchemaDefinition) NodeSchemaDefinition() SchemaDefinition

func (SchemaDefinition) NodeSelectionSet

func (s SchemaDefinition) NodeSelectionSet() int

func (SchemaDefinition) NodeType

func (s SchemaDefinition) NodeType() int

func (SchemaDefinition) NodeUnionMemberTypes

func (s SchemaDefinition) NodeUnionMemberTypes() []int

func (SchemaDefinition) NodeUnionTypeDefinitions

func (s SchemaDefinition) NodeUnionTypeDefinitions() []int

func (SchemaDefinition) NodeValue

func (s SchemaDefinition) NodeValue() int

func (SchemaDefinition) NodeValueReference

func (s SchemaDefinition) NodeValueReference() int

func (SchemaDefinition) NodeValueType

func (s SchemaDefinition) NodeValueType() ValueType

func (SchemaDefinition) NodeVariableDefinitions

func (s SchemaDefinition) NodeVariableDefinitions() []int

func (SchemaDefinition) ObjectName

func (s SchemaDefinition) ObjectName() string

ObjectName returns the struct name for ease of use

func (*SchemaDefinition) SetOperationType

func (s *SchemaDefinition) SetOperationType(operationType ByteSlice, operationName int) error

SetOperationType sets the operationType and operationName and will return an error in case of setting one value multiple times

type SelectionSet

type SelectionSet struct {
	Fields          []int
	FragmentSpreads []int
	InlineFragments []int
	Position        position.Position
}

SelectionSet as specified in: http://facebook.github.io/graphql/draft/#SelectionSet

func (SelectionSet) IsEmpty

func (s SelectionSet) IsEmpty() bool

IsEmpty returns true if fields, fragment spreads and inline fragments are 0

func (SelectionSet) NodeAlias

func (s SelectionSet) NodeAlias() int

func (SelectionSet) NodeArgumentSet

func (s SelectionSet) NodeArgumentSet() int

func (SelectionSet) NodeArgumentsDefinition

func (s SelectionSet) NodeArgumentsDefinition() int

func (SelectionSet) NodeDefaultValue

func (s SelectionSet) NodeDefaultValue() int

func (SelectionSet) NodeDescription

func (s SelectionSet) NodeDescription() ByteSliceReference

func (SelectionSet) NodeDirectiveDefinitions

func (s SelectionSet) NodeDirectiveDefinitions() []int

func (SelectionSet) NodeDirectiveSet

func (s SelectionSet) NodeDirectiveSet() int

func (SelectionSet) NodeEnumTypeDefinitions

func (s SelectionSet) NodeEnumTypeDefinitions() []int

func (SelectionSet) NodeEnumValuesDefinition

func (s SelectionSet) NodeEnumValuesDefinition() []int

func (SelectionSet) NodeFields

func (s SelectionSet) NodeFields() []int

func (SelectionSet) NodeFieldsDefinition

func (s SelectionSet) NodeFieldsDefinition() []int

func (SelectionSet) NodeFragmentSpreads

func (s SelectionSet) NodeFragmentSpreads() []int

func (SelectionSet) NodeImplementsInterfaces

func (s SelectionSet) NodeImplementsInterfaces() []int

func (SelectionSet) NodeInlineFragments

func (s SelectionSet) NodeInlineFragments() []int

func (SelectionSet) NodeInputFieldsDefinition

func (s SelectionSet) NodeInputFieldsDefinition() int

func (SelectionSet) NodeInputObjectTypeDefinitions

func (s SelectionSet) NodeInputObjectTypeDefinitions() []int

func (SelectionSet) NodeInputValueDefinitions

func (s SelectionSet) NodeInputValueDefinitions() []int

func (SelectionSet) NodeInterfaceTypeDefinitions

func (s SelectionSet) NodeInterfaceTypeDefinitions() []int

func (SelectionSet) NodeName

func (s SelectionSet) NodeName() int

func (SelectionSet) NodeObjectTypeDefinitions

func (s SelectionSet) NodeObjectTypeDefinitions() []int

func (SelectionSet) NodeOperationType

func (s SelectionSet) NodeOperationType() OperationType

func (SelectionSet) NodePosition

func (s SelectionSet) NodePosition() position.Position

func (SelectionSet) NodeScalarTypeDefinitions

func (s SelectionSet) NodeScalarTypeDefinitions() []int

func (SelectionSet) NodeSchemaDefinition

func (s SelectionSet) NodeSchemaDefinition() SchemaDefinition

func (SelectionSet) NodeSelectionSet

func (s SelectionSet) NodeSelectionSet() int

func (SelectionSet) NodeType

func (s SelectionSet) NodeType() int

func (SelectionSet) NodeUnionMemberTypes

func (s SelectionSet) NodeUnionMemberTypes() []int

func (SelectionSet) NodeUnionTypeDefinitions

func (s SelectionSet) NodeUnionTypeDefinitions() []int

func (SelectionSet) NodeValue

func (s SelectionSet) NodeValue() int

func (SelectionSet) NodeValueReference

func (s SelectionSet) NodeValueReference() int

func (SelectionSet) NodeValueType

func (s SelectionSet) NodeValueType() ValueType

func (SelectionSet) NodeVariableDefinitions

func (s SelectionSet) NodeVariableDefinitions() []int

type Type

type Type struct {
	Kind     TypeKind
	Name     int
	OfType   int
	Position position.Position
}

Type as specified in: http://facebook.github.io/graphql/draft/#Type

func (Type) NodeAlias

func (t Type) NodeAlias() int

func (Type) NodeArgumentSet

func (t Type) NodeArgumentSet() int

func (Type) NodeArgumentsDefinition

func (t Type) NodeArgumentsDefinition() int

func (Type) NodeDefaultValue

func (t Type) NodeDefaultValue() int

func (Type) NodeDescription

func (t Type) NodeDescription() ByteSliceReference

func (Type) NodeDirectiveDefinitions

func (t Type) NodeDirectiveDefinitions() []int

func (Type) NodeDirectiveSet

func (t Type) NodeDirectiveSet() int

func (Type) NodeEnumTypeDefinitions

func (t Type) NodeEnumTypeDefinitions() []int

func (Type) NodeEnumValuesDefinition

func (t Type) NodeEnumValuesDefinition() []int

func (Type) NodeFields

func (t Type) NodeFields() []int

func (Type) NodeFieldsDefinition

func (t Type) NodeFieldsDefinition() []int

func (Type) NodeFragmentSpreads

func (t Type) NodeFragmentSpreads() []int

func (Type) NodeImplementsInterfaces

func (t Type) NodeImplementsInterfaces() []int

func (Type) NodeInlineFragments

func (t Type) NodeInlineFragments() []int

func (Type) NodeInputFieldsDefinition

func (t Type) NodeInputFieldsDefinition() int

func (Type) NodeInputObjectTypeDefinitions

func (t Type) NodeInputObjectTypeDefinitions() []int

func (Type) NodeInputValueDefinitions

func (t Type) NodeInputValueDefinitions() []int

func (Type) NodeInterfaceTypeDefinitions

func (t Type) NodeInterfaceTypeDefinitions() []int

func (Type) NodeName

func (t Type) NodeName() int

func (Type) NodeObjectTypeDefinitions

func (t Type) NodeObjectTypeDefinitions() []int

func (Type) NodeOperationType

func (t Type) NodeOperationType() OperationType

func (Type) NodePosition

func (t Type) NodePosition() position.Position

func (Type) NodeScalarTypeDefinitions

func (t Type) NodeScalarTypeDefinitions() []int

func (Type) NodeSchemaDefinition

func (t Type) NodeSchemaDefinition() SchemaDefinition

func (Type) NodeSelectionSet

func (t Type) NodeSelectionSet() int

func (Type) NodeType

func (t Type) NodeType() int

func (Type) NodeUnionMemberTypes

func (t Type) NodeUnionMemberTypes() []int

func (Type) NodeUnionTypeDefinitions

func (t Type) NodeUnionTypeDefinitions() []int

func (Type) NodeValue

func (t Type) NodeValue() int

func (Type) NodeValueReference

func (t Type) NodeValueReference() int

func (Type) NodeValueType

func (t Type) NodeValueType() ValueType

func (Type) NodeVariableDefinitions

func (t Type) NodeVariableDefinitions() []int

type TypeKind

type TypeKind int

// TypeKind marks Types to identify them ENUM( UNDEFINED NON_NULL NAMED LIST )

const (
	// TypeKindUNDEFINED is a TypeKind of type UNDEFINED
	TypeKindUNDEFINED TypeKind = iota
	// TypeKindNON_NULL is a TypeKind of type NON_NULL
	TypeKindNON_NULL
	// TypeKindNAMED is a TypeKind of type NAMED
	TypeKindNAMED
	// TypeKindLIST is a TypeKind of type LIST
	TypeKindLIST
)

func ParseTypeKind

func ParseTypeKind(name string) (TypeKind, error)

ParseTypeKind attempts to convert a string to a TypeKind

func (TypeKind) String

func (x TypeKind) String() string

String implements the Stringer interface.

type TypeSystemDefinition

type TypeSystemDefinition struct {
	SchemaDefinition           SchemaDefinition
	ScalarTypeDefinitions      []int
	ObjectTypeDefinitions      []int
	InterfaceTypeDefinitions   []int
	UnionTypeDefinitions       []int
	EnumTypeDefinitions        []int
	InputObjectTypeDefinitions []int
	DirectiveDefinitions       []int
	Position                   position.Position
}

TypeSystemDefinition as specified in: http://facebook.github.io/graphql/draft/#TypeSystemDefinition

func (TypeSystemDefinition) NodeAlias

func (t TypeSystemDefinition) NodeAlias() int

func (TypeSystemDefinition) NodeArgumentSet

func (t TypeSystemDefinition) NodeArgumentSet() int

func (TypeSystemDefinition) NodeArgumentsDefinition

func (t TypeSystemDefinition) NodeArgumentsDefinition() int

func (TypeSystemDefinition) NodeDefaultValue

func (t TypeSystemDefinition) NodeDefaultValue() int

func (TypeSystemDefinition) NodeDescription

func (t TypeSystemDefinition) NodeDescription() ByteSliceReference

func (TypeSystemDefinition) NodeDirectiveDefinitions

func (t TypeSystemDefinition) NodeDirectiveDefinitions() []int

func (TypeSystemDefinition) NodeDirectiveSet

func (t TypeSystemDefinition) NodeDirectiveSet() int

func (TypeSystemDefinition) NodeEnumTypeDefinitions

func (t TypeSystemDefinition) NodeEnumTypeDefinitions() []int

func (TypeSystemDefinition) NodeEnumValuesDefinition

func (t TypeSystemDefinition) NodeEnumValuesDefinition() []int

func (TypeSystemDefinition) NodeFields

func (t TypeSystemDefinition) NodeFields() []int

func (TypeSystemDefinition) NodeFieldsDefinition

func (t TypeSystemDefinition) NodeFieldsDefinition() []int

func (TypeSystemDefinition) NodeFragmentSpreads

func (t TypeSystemDefinition) NodeFragmentSpreads() []int

func (TypeSystemDefinition) NodeImplementsInterfaces

func (t TypeSystemDefinition) NodeImplementsInterfaces() []int

func (TypeSystemDefinition) NodeInlineFragments

func (t TypeSystemDefinition) NodeInlineFragments() []int

func (TypeSystemDefinition) NodeInputFieldsDefinition

func (t TypeSystemDefinition) NodeInputFieldsDefinition() int

func (TypeSystemDefinition) NodeInputObjectTypeDefinitions

func (t TypeSystemDefinition) NodeInputObjectTypeDefinitions() []int

func (TypeSystemDefinition) NodeInputValueDefinitions

func (t TypeSystemDefinition) NodeInputValueDefinitions() []int

func (TypeSystemDefinition) NodeInterfaceTypeDefinitions

func (t TypeSystemDefinition) NodeInterfaceTypeDefinitions() []int

func (TypeSystemDefinition) NodeName

func (t TypeSystemDefinition) NodeName() int

func (TypeSystemDefinition) NodeObjectTypeDefinitions

func (t TypeSystemDefinition) NodeObjectTypeDefinitions() []int

func (TypeSystemDefinition) NodeOperationType

func (t TypeSystemDefinition) NodeOperationType() OperationType

func (TypeSystemDefinition) NodePosition

func (t TypeSystemDefinition) NodePosition() position.Position

func (TypeSystemDefinition) NodeScalarTypeDefinitions

func (t TypeSystemDefinition) NodeScalarTypeDefinitions() []int

func (TypeSystemDefinition) NodeSchemaDefinition

func (t TypeSystemDefinition) NodeSchemaDefinition() SchemaDefinition

func (TypeSystemDefinition) NodeSelectionSet

func (t TypeSystemDefinition) NodeSelectionSet() int

func (TypeSystemDefinition) NodeType

func (t TypeSystemDefinition) NodeType() int

func (TypeSystemDefinition) NodeUnionMemberTypes

func (t TypeSystemDefinition) NodeUnionMemberTypes() []int

func (TypeSystemDefinition) NodeUnionTypeDefinitions

func (t TypeSystemDefinition) NodeUnionTypeDefinitions() []int

func (TypeSystemDefinition) NodeValue

func (t TypeSystemDefinition) NodeValue() int

func (TypeSystemDefinition) NodeValueReference

func (t TypeSystemDefinition) NodeValueReference() int

func (TypeSystemDefinition) NodeValueType

func (t TypeSystemDefinition) NodeValueType() ValueType

func (TypeSystemDefinition) NodeVariableDefinitions

func (t TypeSystemDefinition) NodeVariableDefinitions() []int

type TypeSystemDefinitionNode

type TypeSystemDefinitionNode interface {
	NodeSchemaDefinition() SchemaDefinition
	NodeScalarTypeDefinitions() []int
	NodeObjectTypeDefinitions() []int
	NodeInterfaceTypeDefinitions() []int
	NodeUnionTypeDefinitions() []int
	NodeEnumTypeDefinitions() []int
	NodeInputObjectTypeDefinitions() []int
	NodeDirectiveDefinitions() []int
}

type TypeSystemDefinitions

type TypeSystemDefinitions []TypeSystemDefinition

type Types

type Types []Type

Types is the plural of Type

type UnionMemberTypes

type UnionMemberTypes []int

UnionMemberTypes as specified in: http://facebook.github.io/graphql/draft/#UnionMemberTypes

type UnionTypeDefinition

type UnionTypeDefinition struct {
	Description      ByteSliceReference
	Name             int
	UnionMemberTypes UnionMemberTypes
	DirectiveSet     int
	Position         position.Position
}

UnionTypeDefinition as specified in: http://facebook.github.io/graphql/draft/#UnionTypeDefinition

func (UnionTypeDefinition) NodeAlias

func (u UnionTypeDefinition) NodeAlias() int

func (UnionTypeDefinition) NodeArgumentSet

func (u UnionTypeDefinition) NodeArgumentSet() int

func (UnionTypeDefinition) NodeArgumentsDefinition

func (u UnionTypeDefinition) NodeArgumentsDefinition() int

func (UnionTypeDefinition) NodeDefaultValue

func (u UnionTypeDefinition) NodeDefaultValue() int

func (UnionTypeDefinition) NodeDescription

func (u UnionTypeDefinition) NodeDescription() ByteSliceReference

func (UnionTypeDefinition) NodeDirectiveDefinitions

func (u UnionTypeDefinition) NodeDirectiveDefinitions() []int

func (UnionTypeDefinition) NodeDirectiveSet

func (u UnionTypeDefinition) NodeDirectiveSet() int

func (UnionTypeDefinition) NodeEnumTypeDefinitions

func (u UnionTypeDefinition) NodeEnumTypeDefinitions() []int

func (UnionTypeDefinition) NodeEnumValuesDefinition

func (u UnionTypeDefinition) NodeEnumValuesDefinition() []int

func (UnionTypeDefinition) NodeFields

func (u UnionTypeDefinition) NodeFields() []int

func (UnionTypeDefinition) NodeFieldsDefinition

func (u UnionTypeDefinition) NodeFieldsDefinition() []int

func (UnionTypeDefinition) NodeFragmentSpreads

func (u UnionTypeDefinition) NodeFragmentSpreads() []int

func (UnionTypeDefinition) NodeImplementsInterfaces

func (u UnionTypeDefinition) NodeImplementsInterfaces() []int

func (UnionTypeDefinition) NodeInlineFragments

func (u UnionTypeDefinition) NodeInlineFragments() []int

func (UnionTypeDefinition) NodeInputFieldsDefinition

func (u UnionTypeDefinition) NodeInputFieldsDefinition() int

func (UnionTypeDefinition) NodeInputObjectTypeDefinitions

func (u UnionTypeDefinition) NodeInputObjectTypeDefinitions() []int

func (UnionTypeDefinition) NodeInputValueDefinitions

func (u UnionTypeDefinition) NodeInputValueDefinitions() []int

func (UnionTypeDefinition) NodeInterfaceTypeDefinitions

func (u UnionTypeDefinition) NodeInterfaceTypeDefinitions() []int

func (UnionTypeDefinition) NodeName

func (u UnionTypeDefinition) NodeName() int

func (UnionTypeDefinition) NodeObjectTypeDefinitions

func (u UnionTypeDefinition) NodeObjectTypeDefinitions() []int

func (UnionTypeDefinition) NodeOperationType

func (u UnionTypeDefinition) NodeOperationType() OperationType

func (UnionTypeDefinition) NodePosition

func (u UnionTypeDefinition) NodePosition() position.Position

func (UnionTypeDefinition) NodeScalarTypeDefinitions

func (u UnionTypeDefinition) NodeScalarTypeDefinitions() []int

func (UnionTypeDefinition) NodeSchemaDefinition

func (u UnionTypeDefinition) NodeSchemaDefinition() SchemaDefinition

func (UnionTypeDefinition) NodeSelectionSet

func (u UnionTypeDefinition) NodeSelectionSet() int

func (UnionTypeDefinition) NodeType

func (u UnionTypeDefinition) NodeType() int

func (UnionTypeDefinition) NodeUnionMemberTypes

func (u UnionTypeDefinition) NodeUnionMemberTypes() []int

func (UnionTypeDefinition) NodeUnionTypeDefinitions

func (u UnionTypeDefinition) NodeUnionTypeDefinitions() []int

func (UnionTypeDefinition) NodeValue

func (u UnionTypeDefinition) NodeValue() int

func (UnionTypeDefinition) NodeValueReference

func (u UnionTypeDefinition) NodeValueReference() int

func (UnionTypeDefinition) NodeValueType

func (u UnionTypeDefinition) NodeValueType() ValueType

func (UnionTypeDefinition) NodeVariableDefinitions

func (u UnionTypeDefinition) NodeVariableDefinitions() []int

type UnionTypeDefinitions

type UnionTypeDefinitions []UnionTypeDefinition

UnionTypeDefinitions is the plural of UnionTypeDefinition

type UnionTypeSystemDefinitionNode

type UnionTypeSystemDefinitionNode interface {
	NodeUnionMemberTypes() []int
}

type Value

type Value struct {
	ValueType ValueType
	Reference int
	Position  position.Position
	Raw       ByteSliceReference
}

Value as specified in http://facebook.github.io/graphql/draft/#Value

func (Value) NodeAlias

func (v Value) NodeAlias() int

func (Value) NodeArgumentSet

func (v Value) NodeArgumentSet() int

func (Value) NodeArgumentsDefinition

func (v Value) NodeArgumentsDefinition() int

func (Value) NodeDefaultValue

func (v Value) NodeDefaultValue() int

func (Value) NodeDescription

func (v Value) NodeDescription() ByteSliceReference

func (Value) NodeDirectiveDefinitions

func (v Value) NodeDirectiveDefinitions() []int

func (Value) NodeDirectiveSet

func (v Value) NodeDirectiveSet() int

func (Value) NodeEnumTypeDefinitions

func (v Value) NodeEnumTypeDefinitions() []int

func (Value) NodeEnumValuesDefinition

func (v Value) NodeEnumValuesDefinition() []int

func (Value) NodeFields

func (v Value) NodeFields() []int

func (Value) NodeFieldsDefinition

func (v Value) NodeFieldsDefinition() []int

func (Value) NodeFragmentSpreads

func (v Value) NodeFragmentSpreads() []int

func (Value) NodeImplementsInterfaces

func (v Value) NodeImplementsInterfaces() []int

func (Value) NodeInlineFragments

func (v Value) NodeInlineFragments() []int

func (Value) NodeInputFieldsDefinition

func (v Value) NodeInputFieldsDefinition() int

func (Value) NodeInputObjectTypeDefinitions

func (v Value) NodeInputObjectTypeDefinitions() []int

func (Value) NodeInputValueDefinitions

func (v Value) NodeInputValueDefinitions() []int

func (Value) NodeInterfaceTypeDefinitions

func (v Value) NodeInterfaceTypeDefinitions() []int

func (Value) NodeName

func (v Value) NodeName() int

func (Value) NodeObjectTypeDefinitions

func (v Value) NodeObjectTypeDefinitions() []int

func (Value) NodeOperationType

func (v Value) NodeOperationType() OperationType

func (Value) NodePosition

func (v Value) NodePosition() position.Position

func (Value) NodeScalarTypeDefinitions

func (v Value) NodeScalarTypeDefinitions() []int

func (Value) NodeSchemaDefinition

func (v Value) NodeSchemaDefinition() SchemaDefinition

func (Value) NodeSelectionSet

func (v Value) NodeSelectionSet() int

func (Value) NodeType

func (v Value) NodeType() int

func (Value) NodeUnionMemberTypes

func (v Value) NodeUnionMemberTypes() []int

func (Value) NodeUnionTypeDefinitions

func (v Value) NodeUnionTypeDefinitions() []int

func (Value) NodeValue

func (v Value) NodeValue() int

func (Value) NodeValueReference

func (v Value) NodeValueReference() int

func (Value) NodeValueType

func (v Value) NodeValueType() ValueType

func (Value) NodeVariableDefinitions

func (v Value) NodeVariableDefinitions() []int

type ValueNode

type ValueNode interface {
	NodeValueType() ValueType
	NodeValueReference() int
}

type ValueType

type ValueType int

ValueType differentiates the different types of values

ENUM( DefaultNull Variable Int Float String Boolean Null Enum List Object )

const (
	// ValueTypeDefaultNull is a ValueType of type DefaultNull
	ValueTypeDefaultNull ValueType = iota
	// ValueTypeVariable is a ValueType of type Variable
	ValueTypeVariable
	// ValueTypeInt is a ValueType of type Int
	ValueTypeInt
	// ValueTypeFloat is a ValueType of type Float
	ValueTypeFloat
	// ValueTypeString is a ValueType of type String
	ValueTypeString
	// ValueTypeBoolean is a ValueType of type Boolean
	ValueTypeBoolean
	// ValueTypeNull is a ValueType of type Null
	ValueTypeNull
	// ValueTypeEnum is a ValueType of type Enum
	ValueTypeEnum
	// ValueTypeList is a ValueType of type List
	ValueTypeList
	// ValueTypeObject is a ValueType of type Object
	ValueTypeObject
)

func ParseValueType

func ParseValueType(name string) (ValueType, error)

ParseValueType attempts to convert a string to a ValueType

func (ValueType) String

func (x ValueType) String() string

String implements the Stringer interface.

type VariableDefinition

type VariableDefinition struct {
	Variable     int
	Type         int
	DefaultValue int
	Position     position.Position
}

VariableDefinition as specified in: http://facebook.github.io/graphql/draft/#VariableDefinition

func (VariableDefinition) NodeAlias

func (v VariableDefinition) NodeAlias() int

func (VariableDefinition) NodeArgumentSet

func (v VariableDefinition) NodeArgumentSet() int

func (VariableDefinition) NodeArgumentsDefinition

func (v VariableDefinition) NodeArgumentsDefinition() int

func (VariableDefinition) NodeDefaultValue

func (v VariableDefinition) NodeDefaultValue() int

func (VariableDefinition) NodeDescription

func (v VariableDefinition) NodeDescription() ByteSliceReference

func (VariableDefinition) NodeDirectiveDefinitions

func (v VariableDefinition) NodeDirectiveDefinitions() []int

func (VariableDefinition) NodeDirectiveSet

func (v VariableDefinition) NodeDirectiveSet() int

func (VariableDefinition) NodeEnumTypeDefinitions

func (v VariableDefinition) NodeEnumTypeDefinitions() []int

func (VariableDefinition) NodeEnumValuesDefinition

func (v VariableDefinition) NodeEnumValuesDefinition() []int

func (VariableDefinition) NodeFields

func (v VariableDefinition) NodeFields() []int

func (VariableDefinition) NodeFieldsDefinition

func (v VariableDefinition) NodeFieldsDefinition() []int

func (VariableDefinition) NodeFragmentSpreads

func (v VariableDefinition) NodeFragmentSpreads() []int

func (VariableDefinition) NodeImplementsInterfaces

func (v VariableDefinition) NodeImplementsInterfaces() []int

func (VariableDefinition) NodeInlineFragments

func (v VariableDefinition) NodeInlineFragments() []int

func (VariableDefinition) NodeInputFieldsDefinition

func (v VariableDefinition) NodeInputFieldsDefinition() int

func (VariableDefinition) NodeInputObjectTypeDefinitions

func (v VariableDefinition) NodeInputObjectTypeDefinitions() []int

func (VariableDefinition) NodeInputValueDefinitions

func (v VariableDefinition) NodeInputValueDefinitions() []int

func (VariableDefinition) NodeInterfaceTypeDefinitions

func (v VariableDefinition) NodeInterfaceTypeDefinitions() []int

func (VariableDefinition) NodeName

func (v VariableDefinition) NodeName() int

func (VariableDefinition) NodeObjectTypeDefinitions

func (v VariableDefinition) NodeObjectTypeDefinitions() []int

func (VariableDefinition) NodeOperationType

func (v VariableDefinition) NodeOperationType() OperationType

func (VariableDefinition) NodePosition

func (v VariableDefinition) NodePosition() position.Position

func (VariableDefinition) NodeScalarTypeDefinitions

func (v VariableDefinition) NodeScalarTypeDefinitions() []int

func (VariableDefinition) NodeSchemaDefinition

func (v VariableDefinition) NodeSchemaDefinition() SchemaDefinition

func (VariableDefinition) NodeSelectionSet

func (v VariableDefinition) NodeSelectionSet() int

func (VariableDefinition) NodeType

func (v VariableDefinition) NodeType() int

func (VariableDefinition) NodeUnionMemberTypes

func (v VariableDefinition) NodeUnionMemberTypes() []int

func (VariableDefinition) NodeUnionTypeDefinitions

func (v VariableDefinition) NodeUnionTypeDefinitions() []int

func (VariableDefinition) NodeValue

func (v VariableDefinition) NodeValue() int

func (VariableDefinition) NodeValueReference

func (v VariableDefinition) NodeValueReference() int

func (VariableDefinition) NodeValueType

func (v VariableDefinition) NodeValueType() ValueType

func (VariableDefinition) NodeVariableDefinitions

func (v VariableDefinition) NodeVariableDefinitions() []int

type VariableDefinitions

type VariableDefinitions []VariableDefinition

VariableDefinitions as specified in: http://facebook.github.io/graphql/draft/#VariableDefinitions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL