class Magiika::Node::FnParam
- Magiika::Node::FnParam
- Magiika::Node
- Reference
- Object
Defined in:
node/fn/extra.crConstructors
- .new(name : String, _type : EvalType | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, value : Node | ::Nil = nil, position : Position | ::Nil = nil)
- .new(name : String, _type : EvalType | ::Nil = nil, descriptor : Node::Desc | ::Nil = nil, value : Node | ::Nil = nil, position : Position | ::Nil = nil)
Class Method Summary
Instance Method Summary
- #_type : EvalType | ::Nil
- #descriptors : Set(Node::Desc) | ::Nil
- #name : String
- #validate(node : Node) : MatchResult
- #value : Node | ::Nil
Instance methods inherited from class Magiika::Node
eval(scope : Scope) : Node
eval,
eval_bool(scope : Scope) : ::Bool
eval_bool,
position : Position
position,
position! : Position
position!,
position? : Position | ::Nil
position?,
to_s : String
to_s,
to_s_internal : String
to_s_internal,
type_name : String
type_name
Constructor methods inherited from class Magiika::Node
new(position : Position | ::Nil = nil)
new
Class methods inherited from class Magiika::Node
to_s : String
to_s,
to_s_internal : String
to_s_internal,
type_name : String
type_name
Constructor Detail
def self.new(name : String, _type : EvalType | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, value : Node | ::Nil = nil, position : Position | ::Nil = nil)
#
def self.new(name : String, _type : EvalType | ::Nil = nil, descriptor : Node::Desc | ::Nil = nil, value : Node | ::Nil = nil, position : Position | ::Nil = nil)
#