Lines Matching defs:ls
57 static void anchor_token (LexState *ls) { in anchor_token()
68 static l_noret semerror (LexState *ls, const char *msg) { in semerror()
74 static l_noret error_expected (LexState *ls, int token) { in error_expected()
98 static int testnext (LexState *ls, int c) { in testnext()
107 static void check (LexState *ls, int c) { in check()
113 static void checknext (LexState *ls, int c) { in checknext()
119 #define check_condition(ls,c,msg) { if (!(c)) luaX_syntaxerror(ls, msg); } argument
123 static void check_match (LexState *ls, int what, int who, int where) { in check_match()
136 static TString *str_checkname (LexState *ls) { in str_checkname()
152 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring()
157 static void checkname (LexState *ls, expdesc *e) { in checkname()
162 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar()
175 static void new_localvar (LexState *ls, TString *name) { in new_localvar()
187 static void new_localvarliteral_ (LexState *ls, const char *name, size_t sz) { in new_localvarliteral_()
191 #define new_localvarliteral(ls,v) \ argument
202 static void adjustlocalvars (LexState *ls, int nvars) { in adjustlocalvars()
294 static void singlevar (LexState *ls, expdesc *var) { in singlevar()
307 static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) { in adjust_assign()
327 static void enterlevel (LexState *ls) { in enterlevel()
334 #define leavelevel(ls) ((ls)->L->nCcalls--) argument
337 static void closegoto (LexState *ls, int g, Labeldesc *label) { in closegoto()
361 static int findlabel (LexState *ls, int g) { in findlabel()
381 static int newlabelentry (LexState *ls, Labellist *l, TString *name, in newlabelentry()
399 static void findgotos (LexState *ls, Labeldesc *lb) { in findgotos()
450 static void breaklabel (LexState *ls) { in breaklabel()
460 static l_noret undefgoto (LexState *ls, Labeldesc *gt) { in undefgoto()
471 LexState *ls = fs->ls; in leaveblock() local
495 static Proto *addprototype (LexState *ls) { in addprototype()
517 static void codeclosure (LexState *ls, expdesc *v) { in codeclosure()
524 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func()
552 static void close_func (LexState *ls) { in close_func()
590 static int block_follow (LexState *ls, int withuntil) { in block_follow()
607 static void statlist (LexState *ls) { in statlist()
619 static void fieldsel (LexState *ls, expdesc *v) { in fieldsel()
630 static void yindex (LexState *ls, expdesc *v) { in yindex()
655 static void recfield (LexState *ls, struct ConsControl *cc) { in recfield()
702 static void listfield (LexState *ls, struct ConsControl *cc) { in listfield()
711 static void field (LexState *ls, struct ConsControl *cc) { in field()
733 static void constructor (LexState *ls, expdesc *t) { in constructor()
762 static void parlist (LexState *ls) { in parlist()
791 static void body (LexState *ls, expdesc *e, int ismethod, int line) { in body()
813 static int explist (LexState *ls, expdesc *v) { in explist()
826 static void funcargs (LexState *ls, expdesc *f, int line) { in funcargs()
880 static void primaryexp (LexState *ls, expdesc *v) { in primaryexp()
902 static void suffixedexp (LexState *ls, expdesc *v) { in suffixedexp()
940 static void simpleexp (LexState *ls, expdesc *v) { in simpleexp()
1040 static BinOpr subexpr (LexState *ls, expdesc *v, int limit) { in subexpr()
1070 static void expr (LexState *ls, expdesc *v) { in expr()
1085 static void block (LexState *ls) { in block()
1111 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict()
1139 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) { in assignment()
1172 static int cond (LexState *ls) { in cond()
1182 static void gotostat (LexState *ls, int pc) { in gotostat()
1212 static void skipnoopstat (LexState *ls) { in skipnoopstat()
1218 static void labelstat (LexState *ls, TString *label, int line) { in labelstat()
1236 static void whilestat (LexState *ls, int line) { in whilestat()
1255 static void repeatstat (LexState *ls, int line) { in repeatstat()
1275 static int exp1 (LexState *ls) { in exp1()
1286 static void forbody (LexState *ls, int base, int line, int nvars, int isnum) { in forbody()
1312 static void fornum (LexState *ls, TString *varname, int line) { in fornum()
1334 static void forlist (LexState *ls, TString *indexname) { in forlist()
1359 static void forstat (LexState *ls, int line) { in forstat()
1378 static void test_then_block (LexState *ls, int *escapelist) { in test_then_block()
1413 static void ifstat (LexState *ls, int line) { in ifstat()
1427 static void localfunc (LexState *ls) { in localfunc()
1438 static void localstat (LexState *ls) { in localstat()
1458 static int funcname (LexState *ls, expdesc *v) { in funcname()
1472 static void funcstat (LexState *ls, int line) { in funcstat()
1484 static void exprstat (LexState *ls) { in exprstat()
1500 static void retstat (LexState *ls) { in retstat()
1533 static void statement (LexState *ls) { in statement()
1608 static void mainfunc (LexState *ls, FuncState *fs) { in mainfunc()