Lines Matching defs:ls
68 static l_noret error_expected (LexState *ls, int token) { in error_expected()
95 static int testnext (LexState *ls, int c) { in testnext()
107 static void check (LexState *ls, int c) { in check()
116 static void checknext (LexState *ls, int c) { in checknext()
122 #define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); } argument
130 static void check_match (LexState *ls, int what, int who, int where) { in check_match()
143 static TString *str_checkname (LexState *ls) { in str_checkname()
166 static void codename (LexState *ls, expdesc *e) { in codename()
175 static int registerlocalvar (LexState *ls, FuncState *fs, TString *varname) { in registerlocalvar()
193 static int new_localvar (LexState *ls, TString *name) { in new_localvar()
208 #define new_localvarliteral(ls,v) \ argument
277 static void check_readonly (LexState *ls, expdesc *e) { in check_readonly()
311 static void adjustlocalvars (LexState *ls, int nvars) { in adjustlocalvars()
463 static void singlevar (LexState *ls, expdesc *var) { in singlevar()
482 static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) { in adjust_assign()
504 #define enterlevel(ls) luaE_incCstack(ls->L) argument
507 #define leavelevel(ls) ((ls)->L->nCcalls--) argument
514 static l_noret jumpscopeerror (LexState *ls, Labeldesc *gt) { in jumpscopeerror()
527 static void solvegoto (LexState *ls, int g, Labeldesc *label) { in solvegoto()
544 static Labeldesc *findlabel (LexState *ls, TString *name) { in findlabel()
560 static int newlabelentry (LexState *ls, Labellist *l, TString *name, in newlabelentry()
575 static int newgotoentry (LexState *ls, TString *name, int line, int pc) { in newgotoentry()
585 static int solvegotos (LexState *ls, Labeldesc *lb) { in solvegotos()
608 static int createlabel (LexState *ls, TString *name, int line, in createlabel()
658 static l_noret undefgoto (LexState *ls, Labeldesc *gt) { in undefgoto()
674 LexState *ls = fs->ls; in leaveblock() local
698 static Proto *addprototype (LexState *ls) { in addprototype()
722 static void codeclosure (LexState *ls, expdesc *v) { in codeclosure()
729 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func()
756 static void close_func (LexState *ls) { in close_func()
788 static int block_follow (LexState *ls, int withuntil) { in block_follow()
799 static void statlist (LexState *ls) { in statlist()
811 static void fieldsel (LexState *ls, expdesc *v) { in fieldsel()
822 static void yindex (LexState *ls, expdesc *v) { in yindex()
847 static void recfield (LexState *ls, ConsControl *cc) { in recfield()
896 static void listfield (LexState *ls, ConsControl *cc) { in listfield()
903 static void field (LexState *ls, ConsControl *cc) { in field()
925 static void constructor (LexState *ls, expdesc *t) { in constructor()
959 static void parlist (LexState *ls) { in parlist()
990 static void body (LexState *ls, expdesc *e, int ismethod, int line) { in body()
1012 static int explist (LexState *ls, expdesc *v) { in explist()
1025 static void funcargs (LexState *ls, expdesc *f, int line) { in funcargs()
1080 static void primaryexp (LexState *ls, expdesc *v) { in primaryexp()
1102 static void suffixedexp (LexState *ls, expdesc *v) { in suffixedexp()
1140 static void simpleexp (LexState *ls, expdesc *v) { in simpleexp()
1260 static BinOpr subexpr (LexState *ls, expdesc *v, int limit) { in subexpr()
1290 static void expr (LexState *ls, expdesc *v) { in expr()
1305 static void block (LexState *ls) { in block()
1331 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict()
1375 static void restassign (LexState *ls, struct LHS_assign *lh, int nvars) { in restassign()
1406 static int cond (LexState *ls) { in cond()
1416 static void gotostat (LexState *ls) { in gotostat()
1438 static void breakstat (LexState *ls) { in breakstat()
1448 static void checkrepeated (LexState *ls, TString *name) { in checkrepeated()
1458 static void labelstat (LexState *ls, TString *name, int line) { in labelstat()
1468 static void whilestat (LexState *ls, int line) { in whilestat()
1487 static void repeatstat (LexState *ls, int line) { in repeatstat()
1517 static void exp1 (LexState *ls) { in exp1()
1544 static void forbody (LexState *ls, int base, int line, int nvars, int isgen) { in forbody()
1569 static void fornum (LexState *ls, TString *varname, int line) { in fornum()
1592 static void forlist (LexState *ls, TString *indexname) { in forlist()
1620 static void forstat (LexState *ls, int line) { in forstat()
1638 static void test_then_block (LexState *ls, int *escapelist) { in test_then_block()
1675 static void ifstat (LexState *ls, int line) { in ifstat()
1689 static void localfunc (LexState *ls) { in localfunc()
1701 static int getlocalattribute (LexState *ls) { in getlocalattribute()
1726 static void localstat (LexState *ls) { in localstat()
1768 static int funcname (LexState *ls, expdesc *v) { in funcname()
1782 static void funcstat (LexState *ls, int line) { in funcstat()
1795 static void exprstat (LexState *ls) { in exprstat()
1813 static void retstat (LexState *ls) { in retstat()
1845 static void statement (LexState *ls) { in statement()
1924 static void mainfunc (LexState *ls, FuncState *fs) { in mainfunc()