Qt 4.8
|
Classes | |
struct | Result |
Public Variables | |
QVector< Instr > | bytecode |
struct { | |
QVector< Instr > bytecode | |
QByteArray data | |
QList< QSet< int > > dependencies | |
QVector< quint64 > exceptions | |
QList< int > offsets | |
QHash< QString, QPair< int, int > > registeredStrings | |
QHash< QString, int > subscriptionIds | |
} | committed |
QDeclarativeParser::Object * | component |
QDeclarativeParser::Object * | context |
QByteArray | data |
QDeclarativeParser::Property * | destination |
QDeclarativeEnginePrivate * | engine |
QVector< quint64 > | exceptions |
QHash< QString, QDeclarativeParser::Object * > | ids |
QDeclarativeImports | imports |
QHash< int, QPair< int, int > > | registerCleanups |
QHash< QString, QPair< int, int > > | registeredStrings |
quint32 | registers |
QHash< QString, int > | subscriptionIds |
QSet< QString > | subscriptionSet |
QSet< int > | usedSubscriptionIds |
Definition at line 610 of file qdeclarativecompiledbindings.cpp.
|
inline |
Definition at line 631 of file qdeclarativecompiledbindings.cpp.
int QDeclarativeBindingCompilerPrivate::acquireReg | ( | int | cleanup = Instr::Noop , |
int | cleanupType = 0 |
||
) |
Definition at line 2702 of file qdeclarativecompiledbindings.cpp.
QByteArray QDeclarativeBindingCompilerPrivate::buildExceptionData | ( | ) | const |
Definition at line 2907 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
bool QDeclarativeBindingCompilerPrivate::buildName | ( | QStringList & | name, |
QDeclarativeJS::AST::Node * | node, | ||
QList< QDeclarativeJS::AST::ExpressionNode *> * | nodes = 0 |
||
) |
Definition at line 2595 of file qdeclarativecompiledbindings.cpp.
QByteArray QDeclarativeBindingCompilerPrivate::buildSignalTable | ( | ) | const |
Definition at line 2883 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
int QDeclarativeBindingCompilerPrivate::commitCompile | ( | ) |
Mark the last compile as successful, and add it to the "committed data" section.
Returns the index for the committed binding.
Definition at line 1737 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
bool QDeclarativeBindingCompilerPrivate::compile | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 1750 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
|
inline |
Definition at line 643 of file qdeclarativecompiledbindings.cpp.
quint8 QDeclarativeBindingCompilerPrivate::exceptionId | ( | QDeclarativeJS::AST::ExpressionNode * | n | ) |
Definition at line 2823 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::fetch | ( | Result & | type, |
const QMetaObject * | mo, | ||
int | reg, | ||
int | idx, | ||
const QStringList & | subName, | ||
QDeclarativeJS::AST::ExpressionNode * | node | ||
) |
Definition at line 2618 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::numberArith | ( | Result & | type, |
const Result & | lhs, | ||
const Result & | rhs, | ||
QSOperator::Op | op | ||
) |
Definition at line 2198 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseArith | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 2171 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseConditional | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 2417 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseConstant | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 2487 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseExpression | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 1897 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseLogic | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 2354 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseMethod | ( | QDeclarativeJS::AST::Node * | node, |
Result & | result | ||
) |
Definition at line 2539 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::parseName | ( | QDeclarativeJS::AST::Node * | node, |
Result & | type | ||
) |
Definition at line 1926 of file qdeclarativecompiledbindings.cpp.
void QDeclarativeBindingCompilerPrivate::registerCleanup | ( | int | reg, |
int | cleanup, | ||
int | cleanupType = 0 |
||
) |
Definition at line 2697 of file qdeclarativecompiledbindings.cpp.
int QDeclarativeBindingCompilerPrivate::registerLiteralString | ( | const QString & | str | ) |
Definition at line 2735 of file qdeclarativecompiledbindings.cpp.
int QDeclarativeBindingCompilerPrivate::registerString | ( | const QString & | string | ) |
Definition at line 2756 of file qdeclarativecompiledbindings.cpp.
void QDeclarativeBindingCompilerPrivate::releaseReg | ( | int | reg | ) |
Definition at line 2717 of file qdeclarativecompiledbindings.cpp.
void QDeclarativeBindingCompilerPrivate::resetInstanceState | ( | ) |
Clear the state associated with attempting to compile a specific binding.
This does not clear the global "committed binding" states.
Definition at line 1718 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::stringArith | ( | Result & | type, |
const Result & | lhs, | ||
const Result & | rhs, | ||
QSOperator::Op | op | ||
) |
Definition at line 2281 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::subscription | ( | const QStringList & | sub, |
Result * | result | ||
) |
Definition at line 2781 of file qdeclarativecompiledbindings.cpp.
int QDeclarativeBindingCompilerPrivate::subscriptionIndex | ( | const QStringList & | sub | ) |
Definition at line 2794 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::subscriptionNeutral | ( | const QSet< QString > & | base, |
const QSet< QString > & | lhs, | ||
const QSet< QString > & | rhs | ||
) |
Definition at line 2808 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryArith | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 2158 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryConditional | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 2412 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryConstant | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 2479 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryLogic | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 2340 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryMethod | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 2534 of file qdeclarativecompiledbindings.cpp.
bool QDeclarativeBindingCompilerPrivate::tryName | ( | QDeclarativeJS::AST::Node * | node | ) |
Definition at line 1920 of file qdeclarativecompiledbindings.cpp.
QVector<Instr> QDeclarativeBindingCompilerPrivate::bytecode |
Definition at line 693 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::isValid(), and QDeclarativeBindingCompiler::program().
struct { ... } QDeclarativeBindingCompilerPrivate::committed |
Referenced by QDeclarativeBindingCompiler::isValid(), and QDeclarativeBindingCompiler::program().
QDeclarativeParser::Object* QDeclarativeBindingCompilerPrivate::component |
Definition at line 637 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
QDeclarativeParser::Object* QDeclarativeBindingCompilerPrivate::context |
Definition at line 636 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
QByteArray QDeclarativeBindingCompilerPrivate::data |
Definition at line 681 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
Definition at line 698 of file qdeclarativecompiledbindings.cpp.
QDeclarativeParser::Property* QDeclarativeBindingCompilerPrivate::destination |
Definition at line 638 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
QDeclarativeEnginePrivate* QDeclarativeBindingCompilerPrivate::engine |
Definition at line 641 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
Definition at line 688 of file qdeclarativecompiledbindings.cpp.
QHash<QString, QDeclarativeParser::Object *> QDeclarativeBindingCompilerPrivate::ids |
Definition at line 639 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
QDeclarativeImports QDeclarativeBindingCompilerPrivate::imports |
Definition at line 640 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::compile().
QList<int> QDeclarativeBindingCompilerPrivate::offsets |
Definition at line 697 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
Definition at line 673 of file qdeclarativecompiledbindings.cpp.
Definition at line 680 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
quint32 QDeclarativeBindingCompilerPrivate::registers |
Definition at line 672 of file qdeclarativecompiledbindings.cpp.
Definition at line 692 of file qdeclarativecompiledbindings.cpp.
Referenced by QDeclarativeBindingCompiler::program().
Definition at line 691 of file qdeclarativecompiledbindings.cpp.
QSet<int> QDeclarativeBindingCompilerPrivate::usedSubscriptionIds |
Definition at line 690 of file qdeclarativecompiledbindings.cpp.