|
My Project
|
for lexer for NPL files More...
#include <NPLParser.h>
Public Member Functions | |
| LexState * | SetInput (const char *input, int nLen) |
| set the input stream. More... | |
| LexState * | GetState () |
Static Public Member Functions | |
| static int | luaX_lex (LexState *LS, SemInfo *seminfo) |
| static const char * | FormatString (const char *zFormat,...) |
| static void | luaX_errorline (LexState *ls, const char *s, const char *token, int line) |
| static void | luaX_error (LexState *ls, const char *s, const char *token) |
| static void | luaX_syntaxerror (LexState *ls, const char *msg) |
| static void | luaX_checklimit (LexState *ls, int val, int limit, const char *msg) |
| static void | luaX_lexerror (LexState *ls, const char *s, int token) |
| static const char * | luaX_token2str (LexState *ls, int token) |
for lexer for NPL files
| LexState * NPLLex::SetInput | ( | const char * | input, |
| int | nLen | ||
| ) |
set the input stream.
and clean up all states
| input | code to be parsed |
| nLen | length of the code |
1.8.12