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  Dyndata
 
struct  expdesc
 
struct  FuncState
 
struct  Labeldesc
 
struct  Labellist
 
union  Vardesc
 

Macros

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

Typedefs

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

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 */

Definition at line 91 of file lparser.h.

◆ RDKCTC

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

Definition at line 93 of file lparser.h.

◆ RDKTOCLOSE

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

Definition at line 92 of file lparser.h.

◆ VDKREG

#define VDKREG   0 /* regular */

Definition at line 90 of file lparser.h.

◆ vkisindexed

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

Definition at line 65 of file lparser.h.

◆ vkisvar

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

Definition at line 64 of file lparser.h.

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 

Definition at line 25 of file lparser.h.

Function Documentation

◆ luaY_nvarstack()

LUAI_FUNC int luaY_nvarstack ( FuncState fs)

Definition at line 243 of file lparser.c.

◆ luaY_parser()

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

Definition at line 1931 of file lparser.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49