class GraphQL::Language::EnumValueDefinition

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

Instance methods inherited from class GraphQL::Language::ASTNode

children children, visit(block : ASTNode -> _) visit

Macros inherited from class GraphQL::Language::ASTNode

values(args) values

Constructor Detail

def self.new(name : String, directives, selection : Nil | Array(GraphQL::Language::ASTNode), description : Nil | String, **rest) #

Instance Method Detail

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

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


def children #

def description : Union(String, Nil) #

def description=(description : Union(String, Nil)) #

def directives : Array(Directive) #

def directives=(directives : Array(Directive)) #

def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

def name=(name : String) #

def selection : Union(Array(Selection), Nil) #

def selection=(selection : Union(Array(Selection), Nil)) #