class GraphQL::Language::EnumValueDefinition
Defined in:
graphql/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. - #children
- #description : Union(String, Nil)
- #description=(description : Union(String, Nil))
- #directives : Array(Directive)
- #directives=(directives : Array(Directive))
-
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #name=(name : String)
- #selection : Union(Array(Selection), Nil)
- #selection=(selection : Union(Array(Selection), Nil))
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?
.