GraphQL::Language::Document
Inherits GraphQL::Language::ASTNode < Reference < Object
This is the AST root for normal queries
@example Deriving a document by parsing a string document = GraphQL.parse(query_string)
Constructors
new(definitions, **rest)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
children
Sourcedefinitions
definitions=(definitions : Array(OperationDefinition | FragmentDefinition | SchemaDefinition | ObjectTypeDefinition | InputObjectTypeDefinition | ScalarTypeDefinition | DirectiveDefinition | EnumTypeDefinition | InterfaceTypeDefinition | UnionTypeDefinition))
hash(hasher)
See Object#hash(hasher)