class Oxide::Language::Nodes::OperationDefinition

Defined in:

oxide/language/nodes.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def accept(visitor : Visitor) #

[View source]
def directives : Array(Directive) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String | Nil #

[View source]
def operation_type : String #

[View source]
def selection_set : SelectionSet #

[View source]
def selection_set? : SelectionSet | Nil #

[View source]
def variable_definitions : Array(VariableDefinition) #

[View source]