class Oxide::Language::Nodes::OperationDefinition
Defined in:
oxide/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #accept(visitor : Visitor)
- #directives : Array(Directive)
-
#hash(hasher)
See
Object#hash(hasher)
- #name : String | Nil
- #operation_type : String
- #selection_set : SelectionSet
- #selection_set? : SelectionSet | Nil
- #variable_definitions : Array(VariableDefinition)
Instance methods inherited from class Oxide::Language::Nodes::Node
begin_column : Int32 | Nil
begin_column,
begin_column=(begin_column : Int32 | Nil)
begin_column=,
begin_line : Int32 | Nil
begin_line,
begin_line=(begin_line : Int32 | Nil)
begin_line=,
to_location
to_location
Instance methods inherited from module Oxide::Language::Visitable
accept(visitor : Visitor)
accept
Constructor Detail
def self.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)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.