class Oxide::Language::Nodes::Field

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(name : String, alias __arg0 : Nil | String = nil, arguments : Array(Oxide::Language::Nodes::Argument) = [] of Argument, selection_set : Nil | Oxide::Language::Nodes::SelectionSet = nil, 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 alias : String | Nil #

[View source]
def arguments : Array(Argument) #

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

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

See Object#hash(hasher)


def name : String #

[View source]
def selection_set : SelectionSet | Nil #

[View source]
def to_json_object_key #

TODO Re-serailize errors properly


[View source]