Module: GraphQL::Language::Nodes
- Included in:
- Parser
- Defined in:
- lib/graphql/language/nodes.rb
Defined Under Namespace
Classes: AbstractNode, Argument, Directive, DirectiveDefinition, DirectiveLocation, Document, Enum, EnumTypeDefinition, EnumTypeExtension, EnumValueDefinition, Field, FieldDefinition, FragmentDefinition, FragmentSpread, InlineFragment, InputObject, InputObjectTypeDefinition, InputObjectTypeExtension, InputValueDefinition, InterfaceTypeDefinition, InterfaceTypeExtension, ListType, NameOnlyNode, NonNullType, NullValue, ObjectTypeDefinition, ObjectTypeExtension, OperationDefinition, ScalarTypeDefinition, ScalarTypeExtension, SchemaDefinition, SchemaExtension, TypeName, UnionTypeDefinition, UnionTypeExtension, VariableDefinition, VariableIdentifier, WrapperType
Constant Summary collapse
- NONE =
GraphQL::EmptyObjects::EMPTY_ARRAY
Instance Attribute Summary collapse
-
#name ⇒ String
The identifier of the fragment to apply, corresponds with FragmentDefinition#name.
-
#type ⇒ String?
Name of the type this fragment applies to, or
nil
if this fragment applies to any type.
Instance Attribute Details
#name ⇒ String
Returns The identifier of the fragment to apply, corresponds with GraphQL::Language::Nodes::FragmentDefinition#name.
|
# File 'lib/graphql/language/nodes.rb', line 481
|
#type ⇒ String?
Returns Name of the type this fragment applies to, or nil
if this fragment applies to any type.
|
# File 'lib/graphql/language/nodes.rb', line 495
|