Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | LUA_USE_CTYPE 0 |
#define | ALPHABIT 0 |
#define | DIGITBIT 1 |
#define | PRINTBIT 2 |
#define | SPACEBIT 3 |
#define | XDIGITBIT 4 |
#define | MASK(B) (1 << (B)) |
#define | testprop(c, p) (luai_ctype_[(c)+1] & (p)) |
#define | lislalpha(c) testprop(c, MASK(ALPHABIT)) |
#define | lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT))) |
#define | lisdigit(c) testprop(c, MASK(DIGITBIT)) |
#define | lisspace(c) testprop(c, MASK(SPACEBIT)) |
#define | lisprint(c) testprop(c, MASK(PRINTBIT)) |
#define | lisxdigit(c) testprop(c, MASK(XDIGITBIT)) |
#define | ltolower(c) ((c) | ('A' ^ 'a')) |
Variables | |
LUAI_DDEC const lu_byte | luai_ctype_ [UCHAR_MAX+2] |
#define ALPHABIT 0 |
Definition at line 39 of file lua-5.2.4/src/lctype.h.
#define DIGITBIT 1 |
Definition at line 40 of file lua-5.2.4/src/lctype.h.
Definition at line 59 of file lua-5.2.4/src/lctype.h.
Referenced by l_str2int(), l_str2int(), llex(), llex(), llex(), lua_strx2number(), luaO_hexavalue(), read_numeral(), read_numeral(), read_numeral(), read_string(), read_string(), read_string(), readdecesc(), readdecesc(), and readdecesc().
Definition at line 58 of file lua-5.2.4/src/lctype.h.
Definition at line 57 of file lua-5.2.4/src/lctype.h.
Referenced by llex(), llex(), llex(), and read_numeral().
Definition at line 61 of file lua-5.2.4/src/lctype.h.
Referenced by luaO_pushvfstring(), and luaX_token2str().
Definition at line 60 of file lua-5.2.4/src/lctype.h.
Referenced by l_str2dloc(), l_str2dloc(), l_str2int(), l_str2int(), lua_strx2number(), luaO_str2d(), read_string(), read_string(), and read_string().
Definition at line 62 of file lua-5.2.4/src/lctype.h.
Referenced by gethexa(), gethexa(), l_str2int(), l_str2int(), read_numeral(), read_numeral(), read_numeral(), readhexa(), readhexaesc(), readutf8esc(), and readutf8esc().
#define ltolower | ( | c | ) | ((c) | ('A' ^ 'a')) |
Definition at line 67 of file lua-5.2.4/src/lctype.h.
Referenced by l_str2d(), l_str2d(), and luaO_hexavalue().
#define LUA_USE_CTYPE 0 |
Definition at line 23 of file lua-5.2.4/src/lctype.h.
#define MASK | ( | B | ) | (1 << (B)) |
Definition at line 46 of file lua-5.2.4/src/lctype.h.
#define PRINTBIT 2 |
Definition at line 41 of file lua-5.2.4/src/lctype.h.
#define SPACEBIT 3 |
Definition at line 42 of file lua-5.2.4/src/lctype.h.
#define testprop | ( | c, | |
p ) (luai_ctype_[(c)+1] & (p)) |
Definition at line 52 of file lua-5.2.4/src/lctype.h.
#define XDIGITBIT 4 |
Definition at line 43 of file lua-5.2.4/src/lctype.h.
Definition at line 71 of file lua-5.2.4/src/lctype.h.