Qt 4.8
|
#include <qdeclarativejsengine_p.h>
Public Functions | |
void | addComment (int pos, int len, int line, int col) |
QList< QDeclarativeJS::AST::SourceLocation > | comments () const |
Engine () | |
NameId * | intern (const QChar *u, int s) |
Lexer * | lexer () const |
QSet< NameId > | literals () const |
NodePool * | nodePool () const |
void | setLexer (Lexer *lexer) |
void | setNodePool (NodePool *nodePool) |
~Engine () | |
Static Public Functions | |
static QString | toString (NameId *id) |
Properties | |
QList< QDeclarativeJS::AST::SourceLocation > | _comments |
Lexer * | _lexer |
QSet< NameId > | _literals |
NodePool * | _nodePool |
Definition at line 136 of file qdeclarativejsengine_p.h.
QDeclarativeJS::Engine::Engine | ( | ) |
Definition at line 174 of file qdeclarativejsengine_p.cpp.
QDeclarativeJS::Engine::~Engine | ( | ) |
Definition at line 178 of file qdeclarativejsengine_p.cpp.
void QDeclarativeJS::Engine::addComment | ( | int | pos, |
int | len, | ||
int | line, | ||
int | col | ||
) |
Definition at line 184 of file qdeclarativejsengine_p.cpp.
Referenced by QDeclarativeJS::Lexer::lex().
QList< QDeclarativeJS::AST::SourceLocation > QDeclarativeJS::Engine::comments | ( | ) | const |
Definition at line 187 of file qdeclarativejsengine_p.cpp.
Definition at line 190 of file qdeclarativejsengine_p.cpp.
Referenced by QDeclarativeJS::Lexer::lex(), QDeclarativeJS::Parser::parse(), and QDeclarativeJS::Lexer::scanRegExp().
Lexer * QDeclarativeJS::Engine::lexer | ( | ) | const |
Definition at line 196 of file qdeclarativejsengine_p.cpp.
Referenced by automatic(), QDeclarativeJS::Parser::parse(), and setLexer().
Definition at line 181 of file qdeclarativejsengine_p.cpp.
NodePool * QDeclarativeJS::Engine::nodePool | ( | ) | const |
Definition at line 202 of file qdeclarativejsengine_p.cpp.
Referenced by QDeclarativeJS::Parser::parse(), QDeclarativeJS::Parser::reparseAsQualifiedId(), and setNodePool().
void QDeclarativeJS::Engine::setLexer | ( | Lexer * | lexer | ) |
Definition at line 199 of file qdeclarativejsengine_p.cpp.
Referenced by QDeclarativeJS::Lexer::Lexer().
void QDeclarativeJS::Engine::setNodePool | ( | NodePool * | nodePool | ) |
Definition at line 205 of file qdeclarativejsengine_p.cpp.
Referenced by QDeclarativeJS::NodePool::NodePool().
Definition at line 193 of file qdeclarativejsengine_p.cpp.
|
private |
Definition at line 141 of file qdeclarativejsengine_p.h.
Referenced by addComment(), and comments().
|
private |
Definition at line 138 of file qdeclarativejsengine_p.h.
Referenced by lexer(), and setLexer().
Definition at line 140 of file qdeclarativejsengine_p.h.
Referenced by intern(), and literals().
|
private |
Definition at line 139 of file qdeclarativejsengine_p.h.
Referenced by nodePool(), and setNodePool().