class GraphQL::Language::NameOnlyNode
- GraphQL::Language::NameOnlyNode
- GraphQL::Language::ASTNode
- Reference
- Object
Overview
Base class for nodes whose only value is a name (no child nodes or other scalars)
Direct Known Subclasses
- GraphQL::Language::AEnum
- GraphQL::Language::NullValue
- GraphQL::Language::TypeName
- GraphQL::Language::VariableIdentifier
Defined in:
graphql/language/nodes.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher)
- #name : String
- #name=(name : String)
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
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.