MysoreScript
|
The layout of all closures in MysoreScript. More...
#include <runtime.hh>
Public Attributes | |
Class * | isa |
Class pointer. More... | |
Obj | parameters |
The number of parameters that this object has. More... | |
ClosureInvoke | invoke |
The function that is used to invoke this closure. More... | |
AST::ClosureDecl * | AST |
The AST for this closure. More... | |
Obj | boundVars [0] |
An array of bound variables in this closure. More... | |
The layout of all closures in MysoreScript.
Definition at line 199 of file runtime.hh.
AST::ClosureDecl* MysoreScript::Closure::AST |
The AST for this closure.
Used if it is being interpreted.
Definition at line 217 of file runtime.hh.
Obj MysoreScript::Closure::boundVars[0] |
An array of bound variables in this closure.
Definition at line 221 of file runtime.hh.
ClosureInvoke MysoreScript::Closure::invoke |
The function that is used to invoke this closure.
This is either a compiled function or a trampoline calling back into the interpreter.
Definition at line 213 of file runtime.hh.
Class* MysoreScript::Closure::isa |
Obj MysoreScript::Closure::parameters |
The number of parameters that this object has.
Definition at line 208 of file runtime.hh.