Lines Matching defs:ls
60 static void anchor_token (LexState *ls) { in anchor_token()
71 static l_noret semerror (LexState *ls, const char *msg) { in semerror()
77 static l_noret error_expected (LexState *ls, int token) { in error_expected()
101 static int testnext (LexState *ls, int c) { in testnext()
110 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
126 static void check_match (LexState *ls, int what, int who, int where) { in check_match()
139 static TString *str_checkname (LexState *ls) { in str_checkname()
155 static void codestring (LexState *ls, expdesc *e, TString *s) { in codestring()
160 static void checkname (LexState *ls, expdesc *e) { in checkname()
165 static int registerlocalvar (LexState *ls, TString *varname) { in registerlocalvar()
178 static void new_localvar (LexState *ls, TString *name) { in new_localvar()
190 static void new_localvarliteral_ (LexState *ls, const char *name, size_t sz) { in new_localvarliteral_()
194 #define new_localvarliteral(ls,v) \ argument
205 static void adjustlocalvars (LexState *ls, int nvars) { in adjustlocalvars()
297 static void singlevar (LexState *ls, expdesc *var) { in singlevar()
310 static void adjust_assign (LexState *ls, int nvars, int nexps, expdesc *e) { in adjust_assign()
330 static void enterlevel (LexState *ls) { in enterlevel()
337 #define leavelevel(ls) ((ls)->L->nCcalls--) argument
340 static void closegoto (LexState *ls, int g, Labeldesc *label) { in closegoto()
364 static int findlabel (LexState *ls, int g) { in findlabel()
384 static int newlabelentry (LexState *ls, Labellist *l, TString *name, in newlabelentry()
402 static void findgotos (LexState *ls, Labeldesc *lb) { in findgotos()
453 static void breaklabel (LexState *ls) { in breaklabel()
463 static l_noret undefgoto (LexState *ls, Labeldesc *gt) { in undefgoto()
474 LexState *ls = fs->ls; in leaveblock() local
498 static Proto *addprototype (LexState *ls) { in addprototype()
520 static void codeclosure (LexState *ls, expdesc *v) { in codeclosure()
527 static void open_func (LexState *ls, FuncState *fs, BlockCnt *bl) { in open_func()
555 static void close_func (LexState *ls) { in close_func()
593 static int block_follow (LexState *ls, int withuntil) { in block_follow()
604 static void statlist (LexState *ls) { in statlist()
616 static void fieldsel (LexState *ls, expdesc *v) { in fieldsel()
627 static void yindex (LexState *ls, expdesc *v) { in yindex()
652 static void recfield (LexState *ls, struct ConsControl *cc) { in recfield()
699 static void listfield (LexState *ls, struct ConsControl *cc) { in listfield()
708 static void field (LexState *ls, struct ConsControl *cc) { in field()
730 static void constructor (LexState *ls, expdesc *t) { in constructor()
759 static void parlist (LexState *ls) { in parlist()
788 static void body (LexState *ls, expdesc *e, int ismethod, int line) { in body()
810 static int explist (LexState *ls, expdesc *v) { in explist()
823 static void funcargs (LexState *ls, expdesc *f, int line) { in funcargs()
877 static void primaryexp (LexState *ls, expdesc *v) { in primaryexp()
899 static void suffixedexp (LexState *ls, expdesc *v) { in suffixedexp()
937 static void simpleexp (LexState *ls, expdesc *v) { in simpleexp()
1037 static BinOpr subexpr (LexState *ls, expdesc *v, int limit) { in subexpr()
1067 static void expr (LexState *ls, expdesc *v) { in expr()
1082 static void block (LexState *ls) { in block()
1108 static void check_conflict (LexState *ls, struct LHS_assign *lh, expdesc *v) { in check_conflict()
1136 static void assignment (LexState *ls, struct LHS_assign *lh, int nvars) { in assignment()
1169 static int cond (LexState *ls) { in cond()
1179 static void gotostat (LexState *ls, int pc) { in gotostat()
1209 static void skipnoopstat (LexState *ls) { in skipnoopstat()
1215 static void labelstat (LexState *ls, TString *label, int line) { in labelstat()
1233 static void whilestat (LexState *ls, int line) { in whilestat()
1252 static void repeatstat (LexState *ls, int line) { in repeatstat()
1272 static int exp1 (LexState *ls) { in exp1()
1283 static void forbody (LexState *ls, int base, int line, int nvars, int isnum) { in forbody()
1309 static void fornum (LexState *ls, TString *varname, int line) { in fornum()
1331 static void forlist (LexState *ls, TString *indexname) { in forlist()
1356 static void forstat (LexState *ls, int line) { in forstat()
1374 static void test_then_block (LexState *ls, int *escapelist) { in test_then_block()
1409 static void ifstat (LexState *ls, int line) { in ifstat()
1423 static void localfunc (LexState *ls) { in localfunc()
1434 static void localstat (LexState *ls) { in localstat()
1454 static int funcname (LexState *ls, expdesc *v) { in funcname()
1468 static void funcstat (LexState *ls, int line) { in funcstat()
1480 static void exprstat (LexState *ls) { in exprstat()
1496 static void retstat (LexState *ls) { in retstat()
1529 static void statement (LexState *ls) { in statement()
1604 static void mainfunc (LexState *ls, FuncState *fs) { in mainfunc()