Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
lparser.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"

Go to the source code of this file.

Data Structures

struct  expdesc
 
struct  upvaldesc
 
struct  FuncState
 

Typedefs

typedef struct expdesc expdesc
 
typedef struct upvaldesc upvaldesc
 
typedef struct FuncState FuncState
 

Enumerations

enum  expkind {
  VVOID , VNIL , VTRUE , VFALSE ,
  VK , VKNUM , VLOCAL , VUPVAL ,
  VGLOBAL , VINDEXED , VJMP , VRELOCABLE ,
  VNONRELOC , VCALL , VVARARG
}
 

Functions

LUAI_FUNC ProtoluaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, const char *name)
 

Typedef Documentation

◆ expdesc

typedef struct expdesc expdesc

◆ FuncState

typedef struct FuncState FuncState

◆ upvaldesc

typedef struct upvaldesc upvaldesc

Enumeration Type Documentation

◆ expkind

enum expkind
Enumerator
VVOID 
VNIL 
VTRUE 
VFALSE 
VK 
VKNUM 
VLOCAL 
VUPVAL 
VGLOBAL 
VINDEXED 
VJMP 
VRELOCABLE 
VNONRELOC 
VCALL 
VVARARG 

Definition at line 19 of file lua-5.1.5/src/lparser.h.

19 {
20 VVOID, /* no value */
21 VNIL,
22 VTRUE,
23 VFALSE,
24 VK, /* info = index of constant in `k' */
25 VKNUM, /* nval = numerical value */
26 VLOCAL, /* info = local register */
27 VUPVAL, /* info = index of upvalue in `upvalues' */
28 VGLOBAL, /* info = index of table; aux = index of global name in `k' */
29 VINDEXED, /* info = table register; aux = index register (or `k') */
30 VJMP, /* info = instruction pc */
31 VRELOCABLE, /* info = instruction pc */
32 VNONRELOC, /* info = result register */
33 VCALL, /* info = instruction pc */
34 VVARARG /* info = instruction pc */
35} expkind;

Function Documentation

◆ luaY_parser()

LUAI_FUNC Proto * luaY_parser ( lua_State * L,
ZIO * z,
Mbuffer * buff,
const char * name )

Definition at line 25 of file noparser.c.

25 {
26 UNUSED(z);
27 UNUSED(buff);
28 UNUSED(name);
29 lua_pushliteral(L,"parser not loaded");
30 lua_error(L);
31 return NULL;
32}
#define NULL
Definition gmacros.h:924
const char * name
Definition lsqlite3.c:2154
LUA_API int lua_error(lua_State *L)
#define UNUSED(x)
#define lua_pushliteral(L, s)

References LexState::buff, check, chunk(), close_func(), FuncState::f, LexState::fs, Proto::is_vararg, FuncState::L, lua_assert, lua_error(), lua_pushliteral, luaS_new, luaX_next(), luaX_setinput(), name, NULL, Proto::nups, open_func(), FuncState::prev, TK_EOS, UNUSED, and VARARG_ISVARARG.

Referenced by f_parser(), f_parser(), f_parser(), and f_parser().