class GraphQL::Language::NameOnlyNode

Overview

Base class for nodes whose only value is a name (no child nodes or other scalars)

Direct Known Subclasses

Defined in:

graphql/language/nodes.cr

Constructors

Instance Method Summary

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

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

Constructor Detail

def self.new(name : String, **rest) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

def name=(name : String) #