potion
0.2
|
a prototype is compiled source code, a closure block (lambda) non-volatile. More...
#include <potion.h>
Public Member Functions | |
PN | potion_proto_tree (Potion *P, PN cl, PN self) |
PN | potion_proto_call (Potion *P, PN cl, PN self, PN args) |
PN | potion_proto_string (Potion *P, PN cl, PN self) |
PN | potion_proto_clone (Potion *P, PN cl, PN self) |
long | potion_proto_dumpbc (Potion *P, PN proto, PN out, long pos) |
#define | PN_PROTO(x) ((struct PNProto *)(x)) |
Data Fields | |
PN_OBJECT_HEADER | |
PNType vt; PNUniq uniq. More... | |
PN | source |
program name or enclosing scope More... | |
PN | sig |
argument signature More... | |
PN | stack |
size of the stack More... | |
PN | paths |
paths (instance variables) More... | |
PN | locals |
local variables More... | |
PN | upvals |
variables in upper scopes More... | |
PN | values |
numbers, strings, etc. More... | |
PN | protos |
nested closures More... | |
PN | debugs |
tree parts More... | |
PN | tree |
abstract syntax tree More... | |
PN_SIZE | pathsize |
PN_SIZE | localsize |
PN_SIZE | upvalsize |
PN | asmb |
assembled instructions More... | |
PN_F | jit |
jit function pointer More... | |
int | arity |
cached sig arity (number of args) More... | |
PN | name |
PNString. More... | |
a prototype is compiled source code, a closure block (lambda) non-volatile.