Lines Matching defs:ls

36 #define next(ls) (ls->current = zgetc(ls->z))  argument
40 #define currIsNewline(ls) (ls->current == '\n' || ls->current == '\r') argument
55 #define save_and_next(ls) (save(ls, ls->current), next(ls)) argument
61 static void save (LexState *ls, int c) { in save()
86 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str()
101 static const char *txtToken (LexState *ls, int token) { in txtToken()
117 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror()
125 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror()
135 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
159 static void inclinenumber (LexState *ls) { in inclinenumber()
170 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
195 static int check_next1 (LexState *ls, int c) { in check_next1()
208 static int check_next2 (LexState *ls, const char *set) { in check_next2()
222 static void buffreplace (LexState *ls, char from, char to) { in buffreplace()
239 static void trydecpoint (LexState *ls, TValue *o) { in trydecpoint()
256 static int read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral()
290 static int read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral()
316 static int skip_sep (LexState *ls) { in skip_sep()
329 static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) { in read_long_string()
368 static void esccheck (LexState *ls, int c, const char *msg) { in esccheck()
377 static int gethexa (LexState *ls) { in gethexa()
384 static int readhexaesc (LexState *ls) { in readhexaesc()
392 static unsigned long readutf8esc (LexState *ls) { in readutf8esc()
410 static void utf8esc (LexState *ls) { in utf8esc()
418 static int readdecesc (LexState *ls) { in readdecesc()
431 static void read_string (LexState *ls, int del, SemInfo *seminfo) { in read_string()
494 static int llex (LexState *ls, SemInfo *seminfo) { in llex()
618 void luaX_next (LexState *ls) { in luaX_next()
629 int luaX_lookahead (LexState *ls) { in luaX_lookahead()