Lines Matching refs:FuncState
74 static l_noret errorlimit (FuncState *fs, int limit, const char *what) { in errorlimit()
87 static void checklimit (FuncState *fs, int v, int l, const char *what) { in checklimit()
175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar()
195 FuncState *fs = ls->fs; in new_localvar()
219 static Vardesc *getlocalvardesc (FuncState *fs, int vidx) { in getlocalvardesc()
229 static int reglevel (FuncState *fs, int nvar) { in reglevel()
243 int luaY_nvarstack (FuncState *fs) { in luaY_nvarstack()
251 static LocVar *localdebuginfo (FuncState *fs, int vidx) { in localdebuginfo()
266 static void init_var (FuncState *fs, expdesc *e, int vidx) { in init_var()
278 FuncState *fs = ls->fs; in check_readonly()
312 FuncState *fs = ls->fs; in adjustlocalvars()
328 static void removevars (FuncState *fs, int tolevel) { in removevars()
342 static int searchupvalue (FuncState *fs, TString *name) { in searchupvalue()
352 static Upvaldesc *allocupvalue (FuncState *fs) { in allocupvalue()
364 static int newupvalue (FuncState *fs, TString *name, expdesc *v) { in newupvalue()
366 FuncState *prev = fs->prev; in newupvalue()
390 static int searchvar (FuncState *fs, TString *n, expdesc *var) { in searchvar()
410 static void markupval (FuncState *fs, int level) { in markupval()
424 static void singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) { in singlevaraux()
454 FuncState *fs = ls->fs; in singlevar()
471 FuncState *fs = ls->fs; in adjust_assign()
598 FuncState *fs = ls->fs; in createlabel()
616 static void movegotosout (FuncState *fs, BlockCnt *bl) { in movegotosout()
630 static void enterblock (FuncState *fs, BlockCnt *bl, lu_byte isloop) { in enterblock()
660 static void leaveblock (FuncState *fs) { in leaveblock()
689 FuncState *fs = ls->fs; in addprototype()
711 FuncState *fs = ls->fs->prev; in codeclosure()
717 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func()
746 FuncState *fs = ls->fs; in close_func()
801 FuncState *fs = ls->fs; in fieldsel()
837 FuncState *fs = ls->fs; in recfield()
856 static void closelistfield (FuncState *fs, ConsControl *cc) { in closelistfield()
868 static void lastlistfield (FuncState *fs, ConsControl *cc) { in lastlistfield()
916 FuncState *fs = ls->fs; in constructor()
941 static void setvararg (FuncState *fs, int nparams) { in setvararg()
949 FuncState *fs = ls->fs; in parlist()
980 FuncState new_fs; in body()
1014 FuncState *fs = ls->fs; in funcargs()
1093 FuncState *fs = ls->fs; in suffixedexp()
1159 FuncState *fs = ls->fs; in simpleexp()
1295 FuncState *fs = ls->fs; in block()
1320 FuncState *fs = ls->fs; in check_conflict()
1405 FuncState *fs = ls->fs; in gotostat()
1458 FuncState *fs = ls->fs; in whilestat()
1478 FuncState *fs = ls->fs; in repeatstat()
1518 static void fixforjump (FuncState *fs, int pc, int dest, int back) { in fixforjump()
1537 FuncState *fs = ls->fs; in forbody()
1559 FuncState *fs = ls->fs; in fornum()
1582 FuncState *fs = ls->fs; in forlist()
1610 FuncState *fs = ls->fs; in forstat()
1629 FuncState *fs = ls->fs; in test_then_block()
1665 FuncState *fs = ls->fs; in ifstat()
1679 FuncState *fs = ls->fs; in localfunc()
1708 FuncState *fs = ls->fs; in checktoclose()
1718 FuncState *fs = ls->fs; in localstat()
1786 FuncState *fs = ls->fs; in exprstat()
1804 FuncState *fs = ls->fs; in retstat()
1913 static void mainfunc (LexState *ls, FuncState *fs) { in mainfunc()
1934 FuncState funcstate; in luaY_parser()