class

X::Engine::BuiltInFunctionRegistry

Inherits Reference / Object

Constants

Log = ::Log.for(self)

Constructors

Instance methods

call(engine : Engine::Context, process : Process::Context, module_name : String, function_name : String, arguments : Array(Value::Context)) : Value::Context

Call a function

Source
exists?(module_name : String, function_name : String, arity : Int32) : Bool

Check if the function exists

Source
functions(module_name : String) : Array(Tuple(String, Int32))

List all functions for a module

Source
modules
Source
register(module_name : String, function_name : String, arity : Int32, &block : Function)

Register a function

Source
size

Get the size of the call table

Source
table
Source

Nested types