class Magiika::Node::DefineVar

Defined in:

node/stmt/define/define_var.cr

Constructors

Class Method Summary

Instance Method Summary

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(static : ::Bool, name : String, value : Node, unresolved_type : EvalType | ::Nil = nil, access : Access = Access::Public, position : Position | ::Nil = nil) #

[View source]

Class Method Detail

def self.type_name : String #

[View source]

Instance Method Detail

def eval(scope : Scope) : TypeNode #

[View source]
def eval_bool(scope : Scope) : ::Bool #

[View source]
def static? : ::Bool #

[View source]