Sha256: 13c7c8fbe467a740a4f1dfa85c99d1ccd4c104acd9a6ea8b4c1349eed0b9f5da

Contents?: true

Size: 716 Bytes

Versions: 3

Compression:

Stored size: 716 Bytes

Contents

/*
** $Id: lpcode.h,v 1.6 2013/11/28 14:56:02 roberto Exp $
*/

#if !defined(lpcode_h)
#define lpcode_h

#include "../lua/lua.h"

#include "lptypes.h"
#include "lptree.h"
#include "lpvm.h"

int tocharset (TTree *tree, Charset *cs);
int checkaux (TTree *tree, int pred);
int fixedlenx (TTree *tree, int count, int len);
int hascaptures (TTree *tree);
int lp_gc (lua_State *L);
LpegInstruction *compile (lua_State *L, Pattern *p);
void realloccode (lua_State *L, Pattern *p, int nsize);
int sizei (const LpegInstruction *i);


#define PEnullable      0
#define PEnofail        1

#define nofail(t)	checkaux(t, PEnofail)
#define nullable(t)	checkaux(t, PEnullable)

#define fixedlen(t)     fixedlenx(t, 0, 0)



#endif

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
immunio-0.15.4 lua-hooks/ext/lpeg/lpcode.h
immunio-0.15.3 lua-hooks/ext/lpeg/lpcode.h
immunio-0.15.2 lua-hooks/ext/lpeg/lpcode.h