Home
last modified time | relevance | path

Searched refs:LexState (Results 1 – 8 of 8) sorted by relevance

/f-stack/app/redis-5.0.5/deps/lua/src/
H A Dllex.h55 typedef struct LexState { struct
67 } LexState; argument
71 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
73 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
74 LUAI_FUNC void luaX_next (LexState *ls);
75 LUAI_FUNC void luaX_lookahead (LexState *ls);
76 LUAI_FUNC void luaX_lexerror (LexState *ls, const char *msg, int token);
77 LUAI_FUNC void luaX_syntaxerror (LexState *ls, const char *s);
78 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
H A Dlparser.c53 static void chunk (LexState *ls);
57 static void anchor_token (LexState *ls) { in anchor_token()
89 static void check (LexState *ls, int c) { in check()
276 static void enterlevel (LexState *ls) { in enterlevel()
384 struct LexState lexstate; in luaY_parser()
543 static void parlist (LexState *ls) { in parlist()
881 static void block (LexState *ls) { in block()
965 static int cond (LexState *ls) { in cond()
1036 static int exp1 (LexState *ls) { in exp1()
1238 static void retstat (LexState *ls) { in retstat()
[all …]
H A Dllex.c51 static void save (LexState *ls, int c) { in save()
78 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str()
89 static const char *txtToken (LexState *ls, int token) { in txtToken()
112 void luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror()
129 static void inclinenumber (LexState *ls) { in inclinenumber()
163 static int check_next (LexState *ls, const char *set) { in check_next()
179 static void trydecpoint (LexState *ls, SemInfo *seminfo) { in trydecpoint()
210 static int skip_sep (LexState *ls) { in skip_sep()
334 static int llex (LexState *ls, SemInfo *seminfo) { in llex()
448 void luaX_next (LexState *ls) { in luaX_next()
[all …]
H A Dlparser.h62 struct LexState *ls; /* lexical state */
/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dllex.h55 typedef struct LexState { struct
69 } LexState; argument
73 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
75 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
76 LUAI_FUNC void luaX_next (LexState *ls);
77 LUAI_FUNC int luaX_lookahead (LexState *ls);
78 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s);
79 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
H A Dllex.c49 static void save (LexState *ls, int c) { in save()
72 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str()
88 static const char *txtToken (LexState *ls, int token) { in txtToken()
145 static void inclinenumber (LexState *ls) { in inclinenumber()
182 static int check_next (LexState *ls, const char *set) { in check_next()
254 static int skip_sep (LexState *ls) { in skip_sep()
312 static int readhexaesc (LexState *ls) { in readhexaesc()
326 static int readdecesc (LexState *ls) { in readdecesc()
398 static int llex (LexState *ls, SemInfo *seminfo) { in llex()
515 void luaX_next (LexState *ls) { in luaX_next()
[all …]
H A Dlparser.c54 static void statement (LexState *ls);
58 static void anchor_token (LexState *ls) { in anchor_token()
108 static void check (LexState *ls, int c) { in check()
472 LexState *ls = fs->ls; in leaveblock()
608 static void statlist (LexState *ls) { in statlist()
763 static void parlist (LexState *ls) { in parlist()
1086 static void block (LexState *ls) { in block()
1173 static int cond (LexState *ls) { in cond()
1276 static int exp1 (LexState *ls) { in exp1()
1501 static void retstat (LexState *ls) { in retstat()
[all …]
H A Dlparser.h101 struct LexState *ls; /* lexical state */