abstract class FayrantLang::FunctionValue

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(arity : Int32) #

[View source]

Instance Method Detail

def ==(other : FunctionValue) #

[View source]
def arity : Int32 #

[View source]
abstract def call(args : Array(AnyValue)) : AnyValue #

[View source]
def get_function #

[View source]
def to_string #

[View source]
def uuid : UUID #

[View source]