class FayrantLang::ObjectValue

Direct Known Subclasses

Defined in:

value.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::AnyValue

==(other) ==, get_boolean : Bool get_boolean, get_function : FunctionValue get_function, get_number : Float64 get_number, get_object : ObjectValue get_object, get_string : String get_string, to_string to_string, type : FayrantLang::ValueType type

Constructor methods inherited from class FayrantLang::AnyValue

new(type : ValueType) new

Constructor Detail

def self.new(className : String, methods : Hash(String, FunctionDeclarationStatement), methods_ctx : Context) #

[View source]

Instance Method Detail

def ==(other : ObjectValue) #

[View source]
def fields : Hash(String, FayrantLang::AnyValue) #

[View source]
def get_field(name : String) #

[View source]
def get_object #

[View source]
def set_field(name : String, value : AnyValue) #

[View source]
def to_string #

[View source]
def uuid : UUID #

[View source]