lua5.4
| 宏定义 | 类型定义 | 枚举 | 函数
lparser.h 文件参考
#include "llimits.h"
#include "lobject.h"
#include "lzio.h"
lparser.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

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

宏定义

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

类型定义

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

枚举

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

函数

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)
 

宏定义说明

◆ 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)

类型定义说明

◆ 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

枚举类型说明

◆ expkind

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

函数说明

◆ 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 
)
函数调用图:
这是这个函数的调用关系图: