Qt 4.8
|
#include <qscriptparser_p.h>
Classes | |
struct | Location |
union | Value |
Public Functions | |
int | errorColumnNumber () const |
int | errorLineNumber () const |
QString | errorMessage () const |
bool | parse (QScriptEnginePrivate *driver) |
QScriptParser () | |
~QScriptParser () | |
Protected Functions | |
Location & | loc (int index) |
void | reallocateStack () |
Value & | sym (int index) |
Protected Variables | |
int | error_column |
int | error_lineno |
QString | error_message |
Location * | location_stack |
int | stack_size |
int * | state_stack |
Value * | sym_stack |
int | tos |
Additional Inherited Members | |
Protected Types inherited from QScriptGrammar | |
enum | { EOF_SYMBOL = 0, T_AND = 1, T_AND_AND = 2, T_AND_EQ = 3, T_AUTOMATIC_SEMICOLON = 62, T_BREAK = 4, T_CASE = 5, T_CATCH = 6, T_COLON = 7, T_COMMA = 8, T_CONST = 81, T_CONTINUE = 9, T_DEBUGGER = 82, T_DEFAULT = 10, T_DELETE = 11, T_DIVIDE_ = 12, T_DIVIDE_EQ = 13, T_DO = 14, T_DOT = 15, T_ELSE = 16, T_EQ = 17, T_EQ_EQ = 18, T_EQ_EQ_EQ = 19, T_FALSE = 80, T_FINALLY = 20, T_FOR = 21, T_FUNCTION = 22, T_GE = 23, T_GT = 24, T_GT_GT = 25, T_GT_GT_EQ = 26, T_GT_GT_GT = 27, T_GT_GT_GT_EQ = 28, T_IDENTIFIER = 29, T_IF = 30, T_IN = 31, T_INSTANCEOF = 32, T_LBRACE = 33, T_LBRACKET = 34, T_LE = 35, T_LPAREN = 36, T_LT = 37, T_LT_LT = 38, T_LT_LT_EQ = 39, T_MINUS = 40, T_MINUS_EQ = 41, T_MINUS_MINUS = 42, T_NEW = 43, T_NOT = 44, T_NOT_EQ = 45, T_NOT_EQ_EQ = 46, T_NULL = 78, T_NUMERIC_LITERAL = 47, T_OR = 48, T_OR_EQ = 49, T_OR_OR = 50, T_PLUS = 51, T_PLUS_EQ = 52, T_PLUS_PLUS = 53, T_QUESTION = 54, T_RBRACE = 55, T_RBRACKET = 56, T_REMAINDER = 57, T_REMAINDER_EQ = 58, T_RESERVED_WORD = 83, T_RETURN = 59, T_RPAREN = 60, T_SEMICOLON = 61, T_STAR = 63, T_STAR_EQ = 64, T_STRING_LITERAL = 65, T_SWITCH = 66, T_THIS = 67, T_THROW = 68, T_TILDE = 69, T_TRUE = 79, T_TRY = 70, T_TYPEOF = 71, T_VAR = 72, T_VOID = 73, T_WHILE = 74, T_WITH = 75, T_XOR = 76, T_XOR_EQ = 77, ACCEPT_STATE = 237, RULE_COUNT = 269, STATE_COUNT = 468, TERMINAL_COUNT = 84, NON_TERMINAL_COUNT = 88, GOTO_INDEX_OFFSET = 468, GOTO_INFO_OFFSET = 1562, GOTO_CHECK_OFFSET = 1562 } |
Static Protected Functions inherited from QScriptGrammar | |
static int | nt_action (int state, int nt) |
static int | t_action (int state, int token) |
Static Protected Variables inherited from QScriptGrammar | |
static const short | action_check [] |
static const short | action_default [] |
static const short | action_index [] |
static const short | action_info [] |
static const short | goto_default [] |
static const short | lhs [] |
static const short | rhs [] |
static const int | rule_index [] |
static const int | rule_info [] |
static const char *const | spell [] |
Definition at line 56 of file qscriptparser_p.h.
QScriptParser::QScriptParser | ( | ) |
Definition at line 57 of file qscriptparser.cpp.
QScriptParser::~QScriptParser | ( | ) |
Definition at line 66 of file qscriptparser.cpp.
|
inline |
Definition at line 104 of file qscriptparser_p.h.
|
inline |
Definition at line 102 of file qscriptparser_p.h.
|
inline |
Definition at line 100 of file qscriptparser_p.h.
|
inlineprotected |
bool QScriptParser::parse | ( | QScriptEnginePrivate * | driver | ) |
Definition at line 85 of file qscriptparser.cpp.
|
inlineprotected |
Definition at line 127 of file qscriptparser_p.h.
Referenced by errorColumnNumber(), and parse().
|
inlineprotected |
|
protected |
Definition at line 124 of file qscriptparser_p.h.
Referenced by errorColumnNumber(), and parse().
|
protected |
Definition at line 123 of file qscriptparser_p.h.
Referenced by errorLineNumber(), and parse().
|
protected |
Definition at line 122 of file qscriptparser_p.h.
Referenced by errorMessage(), and parse().
|
protected |
Definition at line 121 of file qscriptparser_p.h.
Referenced by loc(), parse(), reallocateStack(), and ~QScriptParser().
|
protected |
Definition at line 118 of file qscriptparser_p.h.
Referenced by parse(), reallocateStack(), and ~QScriptParser().
|
protected |
Definition at line 120 of file qscriptparser_p.h.
Referenced by parse(), reallocateStack(), and ~QScriptParser().
|
protected |
Definition at line 119 of file qscriptparser_p.h.
Referenced by parse(), reallocateStack(), sym(), and ~QScriptParser().
|
protected |
Definition at line 117 of file qscriptparser_p.h.