enum | |
{ | |
VVOID; | |
VNIL; | |
VTRUE; | |
VFALSE; | |
VK; | |
VKNUM; | |
VLOCAL; | |
VUPVAL; | |
VGLOBAL; | |
VINDEXED; | |
VJMP; | |
VRELOCABLE; | |
VNONRELOC; | |
VCALL; | |
VVARARG; | |
} |
struct expdesc | |
{ | |
expkind k; | |
union | |
{ | |
struct | |
{ | |
int info; | |
int aux; | |
} | |
s; | |
lua_Number nval; | |
} | |
u; | |
int t; | |
int f; | |
} |
struct upvaldesc | |
{ | |
lu_byte k; | |
lu_byte info; | |
} |
struct FuncState | |
{ | |
Proto* f; | |
Table* h; | |
struct FuncState* prev; | |
struct LexState* ls; | |
struct lua_State* L; | |
struct BlockCnt* bl; | |
int pc; | |
int lasttarget; | |
int jpc; | |
int freereg; | |
int nk; | |
int np; | |
short nlocvars; | |
lu_byte nactvar; | |
upvaldesc upvalues[60]; | |
unsigned short actvar[200]; | |
} |