class FayrantLang::BuiltinFunction

Defined in:

value.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::FunctionValue

==(other : FunctionValue) ==, arity : Int32 arity, call(args : Array(AnyValue)) : AnyValue call, get_function get_function, to_string to_string, uuid : UUID uuid

Constructor methods inherited from class FayrantLang::FunctionValue

new(arity : Int32) new

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, &body : Array(AnyValue) -> AnyValue) #

[View source]

Instance Method Detail

def call(args : Array(AnyValue)) : AnyValue #

[View source]