Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dllex.h51 typedef struct LexState { struct
65 } LexState; argument
69 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z,
71 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l);
72 LUAI_FUNC void luaX_next (LexState *ls);
73 LUAI_FUNC int luaX_lookahead (LexState *ls);
74 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s);
75 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
Dllex.c49 static l_noret lexerror (LexState *ls, const char *msg, int token);
52 static void save (LexState *ls, int c) { in save()
75 const char *luaX_token2str (LexState *ls, int token) { in luaX_token2str()
91 static const char *txtToken (LexState *ls, int token) { in txtToken()
104 static l_noret lexerror (LexState *ls, const char *msg, int token) { in lexerror()
114 l_noret luaX_syntaxerror (LexState *ls, const char *msg) { in luaX_syntaxerror()
124 TString *luaX_newstring (LexState *ls, const char *str, size_t l) { in luaX_newstring()
148 static void inclinenumber (LexState *ls) { in inclinenumber()
159 void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, in luaX_setinput()
185 static int check_next (LexState *ls, const char *set) { in check_next()
[all …]
Dlparser.c56 static void statement (LexState *ls);
57 static void expr (LexState *ls, expdesc *v);
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()
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()
[all …]
Dlparser.h100 struct LexState *ls; /* lexical state */