My Project
Static Public Member Functions | Static Public Attributes | List of all members
NPLInterface::NPLParser Class Reference

parser for NPL files. More...

#include <NPLInterface.hpp>

Static Public Member Functions

static void next (LexState *ls)
 
static void lookahead (LexState *ls)
 
static void error_expected (LexState *ls, int token)
 
static int testnext (LexState *ls, int c)
 
static void check_condition (LexState *ls, void *c, const char *msg)
 
static void check_match (LexState *ls, int what, int who, int where)
 
static void check (LexState *ls, int c)
 
static bool CheckPureDataBlock (LexState *ls)
 
static bool IsPureData (const char *input, int nLen)
 
static bool IsPureTable (const char *input, int nLen)
 
static bool IsMsgData (const char *input, int nLen)
 
static bool IsIdentifier (const char *str, int nLength)
 
static void enterlevel (LexState *ls)
 
static void leavelevel (LexState *ls)
 

Static Public Attributes

static const int LUA_MAXPARSERLEVEL = 200
 

Detailed Description

parser for NPL files.

Internally it uses NPLLexer

Member Function Documentation

§ CheckPureDataBlock()

static bool NPLInterface::NPLParser::CheckPureDataBlock ( LexState ls)
inlinestatic

Fixed: 2008.6.3 LiXizhi the following is for auto indexed table items {"string1", "string2\r\n", 213, nil,["A"]="B", true, false, {"another table", "field1"}}


The documentation for this class was generated from the following file: