Oxide::Language::Nodes::OperationDefinition
Inherits Oxide::Language::Nodes::Node < Oxide::Language::Visitable < Reference < Object
Constructors
new(operation_type : String, name : Nil | String = nil, selection_set : Nil | Oxide::Language::Nodes::SelectionSet = nil, variable_definitions : Array(Oxide::Language::Nodes::VariableDefinition) = [] of VariableDefinition, directives : Array(Oxide::Language::Nodes::Directive) = [] of Directive)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept(visitor : Visitor)
Sourcedirectives
Sourcedirectives=(directives : Array(Directive))
Sourcehash(hasher)
See Object#hash(hasher)
name
Sourcename=(name : String | Nil)
Sourceoperation_type
Sourceoperation_type=(operation_type : String)
Sourceselection_set
Sourceselection_set=(selection_set : SelectionSet)
Sourceselection_set?
Sourcevariable_definitions
Sourcevariable_definitions=(variable_definitions : Array(VariableDefinition))
Source