The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Macros | Typedefs | Enumerations | Functions
lparser.h File Reference
#include "llimits.h"
#include "lobject.h"
#include "lzio.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.

Classes

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

Macros

#define vkisvar(k)   (VLOCAL <= (k) && (k) <= VINDEXED)
 
#define vkisinreg(k)   ((k) == VNONRELOC || (k) == VLOCAL)
 

Typedefs

typedef struct expdesc expdesc
 
typedef struct 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, VKNUM, VNONRELOC, VLOCAL,
  VUPVAL, VINDEXED, VJMP, VRELOCABLE,
  VCALL, VVARARG
}
 

Functions

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

Macro Definition Documentation

#define vkisinreg (   k)    ((k) == VNONRELOC || (k) == VLOCAL)

Definition at line 37 of file lparser.h.

Referenced by luaK_indexed().

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

Definition at line 36 of file lparser.h.

Referenced by assignment().

Typedef Documentation

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

Enumeration Type Documentation

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

Definition at line 18 of file lparser.h.

Function Documentation

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