native Lua  0.5.0-devel
Lua on the platform you use with the compiler you choose
Data Structures | Macros | Typedefs | Enumerations | Functions
lparser.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
#include "_native_lua_config.h"
Include dependency graph for lparser.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  expdesc
 
union  Vardesc
 
struct  Labeldesc
 
struct  Labellist
 
struct  Dyndata
 
struct  FuncState
 

Macros

#define vkisvar(k)   (VLOCAL <= (k) && (k) <= VINDEXSTR)
 
#define vkisindexed(k)   (VINDEXED <= (k) && (k) <= VINDEXSTR)
 
#define VDKREG   0 /* regular */
 
#define RDKCONST   1 /* constant */
 
#define RDKTOCLOSE   2 /* to-be-closed */
 
#define RDKCTC   3 /* compile-time constant */
 

Typedefs

typedef struct expdesc expdesc
 
typedef union Vardesc Vardesc
 
typedef struct Labeldesc Labeldesc
 
typedef struct Labellist Labellist
 
typedef struct Dyndata Dyndata
 
typedef struct FuncState FuncState
 

Enumerations

enum  expkind {
  VVOID, VNIL, VTRUE, VFALSE,
  VK, VKFLT, VKINT, VKSTR,
  VNONRELOC, VLOCAL, VUPVAL, VCONST,
  VINDEXED, VINDEXUP, VINDEXI, VINDEXSTR,
  VJMP, VRELOC, VCALL, VVARARG
}
 

Functions

LUAI_FUNC int luaY_nvarstack (FuncState *fs)
 
LUAI_FUNC LClosureluaY_parser (lua_State *L, ZIO *z, Mbuffer *buff, Dyndata *dyd, const char *name, int firstchar)
 

Macro Definition Documentation

◆ RDKCONST

#define RDKCONST   1 /* constant */

◆ RDKCTC

#define RDKCTC   3 /* compile-time constant */

◆ RDKTOCLOSE

#define RDKTOCLOSE   2 /* to-be-closed */

◆ VDKREG

#define VDKREG   0 /* regular */

◆ vkisindexed

#define vkisindexed (   k)    (VINDEXED <= (k) && (k) <= VINDEXSTR)

◆ vkisvar

#define vkisvar (   k)    (VLOCAL <= (k) && (k) <= VINDEXSTR)

Typedef Documentation

◆ Dyndata

typedef struct Dyndata Dyndata

◆ expdesc

typedef struct expdesc expdesc

◆ FuncState

typedef struct FuncState FuncState

◆ Labeldesc

typedef struct Labeldesc Labeldesc

◆ Labellist

typedef struct Labellist Labellist

◆ Vardesc

typedef union Vardesc Vardesc

Enumeration Type Documentation

◆ expkind

enum expkind
Enumerator
VVOID 
VNIL 
VTRUE 
VFALSE 
VK 
VKFLT 
VKINT 
VKSTR 
VNONRELOC 
VLOCAL 
VUPVAL 
VCONST 
VINDEXED 
VINDEXUP 
VINDEXI 
VINDEXSTR 
VJMP 
VRELOC 
VCALL 
VVARARG 

Function Documentation

◆ luaY_nvarstack()

LUAI_FUNC int luaY_nvarstack ( FuncState fs)

◆ luaY_parser()

LUAI_FUNC LClosure* luaY_parser ( lua_State L,
ZIO z,
Mbuffer buff,
Dyndata dyd,
const char *  name,
int  firstchar 
)