Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
union | SemInfo |
struct | Token |
struct | LexState |
Macros | |
#define | FIRST_RESERVED (UCHAR_MAX + 1) |
#define | LUA_ENV "_ENV" |
#define | NUM_RESERVED (cast_int(TK_WHILE-FIRST_RESERVED + 1)) |
Typedefs | |
typedef struct Token | Token |
typedef struct LexState | LexState |
Enumerations | |
enum | RESERVED { TK_AND = FIRST_RESERVED , TK_BREAK , TK_DO , TK_ELSE , TK_ELSEIF , TK_END , TK_FALSE , TK_FOR , TK_FUNCTION , TK_GOTO , TK_IF , TK_IN , TK_LOCAL , TK_NIL , TK_NOT , TK_OR , TK_REPEAT , TK_RETURN , TK_THEN , TK_TRUE , TK_UNTIL , TK_WHILE , TK_IDIV , TK_CONCAT , TK_DOTS , TK_EQ , TK_GE , TK_LE , TK_NE , TK_SHL , TK_SHR , TK_DBCOLON , TK_EOS , TK_FLT , TK_INT , TK_NAME , TK_STRING } |
Functions | |
LUAI_FUNC void | luaX_init (lua_State *L) |
LUAI_FUNC void | luaX_setinput (lua_State *L, LexState *ls, ZIO *z, TString *source, int firstchar) |
LUAI_FUNC TString * | luaX_newstring (LexState *ls, const char *str, size_t l) |
LUAI_FUNC void | luaX_next (LexState *ls) |
LUAI_FUNC int | luaX_lookahead (LexState *ls) |
LUAI_FUNC l_noret | luaX_syntaxerror (LexState *ls, const char *s) |
LUAI_FUNC const char * | luaX_token2str (LexState *ls, int token) |
#define FIRST_RESERVED (UCHAR_MAX + 1) |
Definition at line 20 of file lua-5.4.3/src/llex.h.
#define LUA_ENV "_ENV" |
Definition at line 24 of file lua-5.4.3/src/llex.h.
#define NUM_RESERVED (cast_int(TK_WHILE-FIRST_RESERVED + 1)) |
Definition at line 46 of file lua-5.4.3/src/llex.h.
typedef struct LexState LexState |
typedef struct Token Token |
enum RESERVED |
Definition at line 32 of file lua-5.4.3/src/llex.h.
Definition at line 21 of file noparser.c.
References cast_byte, TString::extra, lua_assert, LUA_ENV, luaC_fix(), luaS_fix, luaS_new, luaS_newliteral, luaX_tokens, luaX_tokens, luaX_tokens, luaX_tokens, NUM_RESERVED, obj2gco, TString::reserved, TOKEN_LEN, TString::tsv, and UNUSED.
Referenced by f_luaopen(), f_luaopen(), f_luaopen(), and f_luaopen().
Definition at line 459 of file lua-5.1.5/src/llex.c.
References llex(), llex(), llex(), llex(), LexState::lookahead, lua_assert, Token::seminfo, TK_EOS, and Token::token.
Referenced by constructor(), field(), field(), and field().
Definition at line 117 of file lua-5.1.5/src/llex.c.
References LexState::fs, FuncState::h, LexState::h, keyfromval, keystrval, LexState::L, luaC_checkGC, luaH_finishset(), luaH_getstr(), luaH_set(), luaH_setstr(), luaS_newlstr(), nodefromval, rawtsvalue, s2v, setbvalue, setsvalue, setsvalue2s, lua_State::top, tsvalue, and ttisnil.
Referenced by anchor_token(), anchor_token(), llex(), llex(), llex(), llex(), new_localvarliteral_(), new_localvarliteral_(), read_long_string(), read_long_string(), read_long_string(), read_long_string(), read_string(), read_string(), read_string(), and read_string().
Definition at line 448 of file lua-5.1.5/src/llex.c.
References LexState::lastline, LexState::linenumber, llex(), llex(), llex(), llex(), LexState::lookahead, Token::seminfo, LexState::t, TK_EOS, and Token::token.
Referenced by breakstat(), checknext(), checknext(), checknext(), checknext(), field(), fieldsel(), fieldsel(), fieldsel(), forstat(), forstat(), forstat(), forstat(), funcargs(), funcargs(), funcargs(), funcargs(), funcstat(), funcstat(), funcstat(), funcstat(), gotostat(), gotostat(), ifstat(), luaY_parser(), mainfunc(), mainfunc(), mainfunc(), parlist(), parlist(), parlist(), parlist(), prefixexp(), primaryexp(), primaryexp(), primaryexp(), primaryexp(), repeatstat(), repeatstat(), repeatstat(), repeatstat(), retstat(), simpleexp(), simpleexp(), simpleexp(), simpleexp(), statement(), statement(), statement(), statement(), str_checkname(), str_checkname(), str_checkname(), str_checkname(), subexpr(), subexpr(), subexpr(), subexpr(), suffixedexp(), suffixedexp(), suffixedexp(), test_then_block(), test_then_block(), test_then_block(), test_then_block(), testnext(), testnext(), testnext(), testnext(), whilestat(), whilestat(), whilestat(), whilestat(), yindex(), yindex(), yindex(), and yindex().
LUAI_FUNC void luaX_setinput | ( | lua_State * | L, |
LexState * | ls, | ||
ZIO * | z, | ||
TString * | source, | ||
int | firstchar ) |
Definition at line 159 of file lua-5.2.4/src/llex.c.
References LexState::buff, LexState::current, LexState::decpoint, LexState::envn, LexState::fs, LexState::L, LexState::lastline, LexState::linenumber, LexState::lookahead, LUA_ENV, LUA_MINBUFFER, luaS_fix, luaS_new, luaS_newliteral, luaZ_resizebuffer, NULL, LexState::source, LexState::t, TK_EOS, Token::token, and LexState::z.
Definition at line 112 of file lua-5.1.5/src/llex.c.
References lexerror(), lexerror(), lexerror(), luaX_lexerror(), LexState::t, and Token::token.
Referenced by breakstat(), check_match(), check_match(), check_match(), check_match(), error_expected(), error_expected(), error_expected(), error_expected(), errorlimit(), errorlimit(), errorlimit(), fixforjump(), fixjump(), fixjump(), fixjump(), fixjump(), forstat(), forstat(), forstat(), forstat(), funcargs(), funcargs(), funcargs(), funcargs(), inclinenumber(), luaK_checkstack(), luaK_semerror(), luaK_setlist(), parlist(), parlist(), parlist(), parlist(), prefixexp(), primaryexp(), primaryexp(), primaryexp(), semerror(), and semerror().
Definition at line 78 of file lua-5.1.5/src/llex.c.
References cast, cast_uchar, FIRST_RESERVED, LexState::L, lisprint, lua_assert, LUA_QL, LUA_QS, luaO_pushfstring(), luaX_tokens, luaX_tokens, luaX_tokens, luaX_tokens, s, and TK_EOS.
Referenced by check_match(), check_match(), check_match(), check_match(), error_expected(), error_expected(), error_expected(), error_expected(), txtToken(), txtToken(), txtToken(), and txtToken().