class GraphQL::Language::NonNullType
- GraphQL::Language::NonNullType
- GraphQL::Language::WrapperType
- GraphQL::Language::ASTNode
- Reference
- Object
Overview
A non-null type definition, denoted with ...!
(used for variable type definitions)
Defined in:
graphql/language/nodes.crConstant Summary
-
VALUES =
[] of Tuple(Symbol, Object.class)
-
A non-null type definition, denoted with
...!
(used for variable type definitions) -
VISITS =
[] of Tuple(Symbol, Array(Symbol))
-
A non-null type definition, denoted with
...!
(used for variable type definitions)
Constructors
-
.new(**rest)
A non-null type definition, denoted with
...!
(used for variable type definitions)
Class Method Summary
-
.values
A non-null type definition, denoted with
...!
(used for variable type definitions)
Macro Summary
-
accessors(name, type, default)
A non-null type definition, denoted with
...!
(used for variable type definitions) -
traverse(name, *values)
A non-null type definition, denoted with
...!
(used for variable type definitions) -
values(args)
A non-null type definition, denoted with
...!
(used for variable type definitions)
Instance Method Summary
-
#==(other : GraphQL::Language::NonNullType)
A non-null type definition, denoted with
...!
(used for variable type definitions) -
#clone
Returns a copy of
self
with all instance variables cloned. -
#values
A non-null type definition, denoted with
...!
(used for variable type definitions) -
#visit(name, visited_ids = [] of UInt64, block = Proc(ASTNode, ASTNode | ::Nil).new do
end)
Recursively apply the given block to each node that gets visited with the given key which nodes get traverses for a given key can be set on a class via the:
traverse :name, :child_1, :child2
macro.
Instance methods inherited from class GraphQL::Language::WrapperType
==(other : GraphQL::Language::WrapperType)
==,
clone
clone,
map_children(&block : ASTNode -> _)
map_children,
of_type : Type
of_type,
of_type=(of_type : Type)
of_type=,
values
values,
visit(name, visited_ids = [] of UInt64, block = Proc(ASTNode, ASTNode | ::Nil).new do
end)
visit
Constructor methods inherited from class GraphQL::Language::WrapperType
new(of_type, **rest)
new
Class methods inherited from class GraphQL::Language::WrapperType
values
values
Macros inherited from class GraphQL::Language::WrapperType
accessors(name, type, default)
accessors,
traverse(name, *values)
traverse,
values(args)
values
Instance methods inherited from class GraphQL::Language::ASTNode
==(other)
==,
clone
clone,
values
values
Class methods inherited from class GraphQL::Language::ASTNode
values
values
Macros inherited from class GraphQL::Language::ASTNode
accessors(name, type, default)
accessors,
make_value_methods
make_value_methods,
traverse(name, *values)
traverse,
values(args)
values
Constructor Detail
A non-null type definition, denoted with ...!
(used for variable type definitions)
Class Method Detail
A non-null type definition, denoted with ...!
(used for variable type definitions)
Macro Detail
A non-null type definition, denoted with ...!
(used for variable type definitions)
A non-null type definition, denoted with ...!
(used for variable type definitions)
A non-null type definition, denoted with ...!
(used for variable type definitions)
Instance Method Detail
A non-null type definition, denoted with ...!
(used for variable type definitions)
Recursively apply the given block to each
node that gets visited with the given key
which nodes get traverses for a given key
can be set on a class via the:
traverse :name, :child_1, :child2
macro. If no children are defined for a
given traversal path name the block is invoked
only with self.ode that gets visited with the given key
which nodes get traverses for a given key
can be set on a class via the:
traverse :name, :child_1, :child2
macro. If no children are defined for a
given traversal path name the block is invoked
only with self.