Qt 4.8
|
#include "private/qdeclarativecompiler_p.h"
#include "private/qdeclarativeparser_p.h"
#include "private/qdeclarativescriptparser_p.h"
#include "qdeclarativepropertyvaluesource.h"
#include "qdeclarativecomponent.h"
#include "private/qmetaobjectbuilder_p.h"
#include "private/qdeclarativestringconverters_p.h"
#include "private/qdeclarativeengine_p.h"
#include "qdeclarativeengine.h"
#include "qdeclarativecontext.h"
#include "private/qdeclarativemetatype_p.h"
#include "private/qdeclarativecustomparser_p_p.h"
#include "private/qdeclarativecontext_p.h"
#include "private/qdeclarativecomponent_p.h"
#include "parser/qdeclarativejsast_p.h"
#include "private/qdeclarativevmemetaobject_p.h"
#include "private/qdeclarativeexpression_p.h"
#include "private/qdeclarativeproperty_p.h"
#include "private/qdeclarativerewrite_p.h"
#include "qdeclarativescriptstring.h"
#include "private/qdeclarativeglobal_p.h"
#include "private/qdeclarativebinding_p.h"
#include "private/qdeclarativecompiledbindings_p.h"
#include "private/qdeclarativeglobalscriptclass_p.h"
#include <QColor>
#include <QDebug>
#include <QPointF>
#include <QSizeF>
#include <QRectF>
#include <QAtomicInt>
#include <QtCore/qdebug.h>
#include <QtCore/qdatetime.h>
#include <qdeclarativejsparser_p.h>
Go to the source code of this file.
Classes | |
struct | StaticQtMetaObject |
Macros | |
#define | COMPILE_CHECK(a) |
Returns false if is false, otherwise does nothing. More... | |
#define | COMPILE_EXCEPTION(token, desc) |
Inserts an error into the QDeclarativeCompiler error list, and returns false (failure). More... | |
Functions | |
static QStringList | astNodeToStringList (QDeclarativeJS::AST::Node *node) |
DEFINE_BOOL_CONFIG_OPTION (compilerDump, QML_COMPILER_DUMP) | |
DEFINE_BOOL_CONFIG_OPTION (compilerStatDump, QML_COMPILER_STATS) | |
DEFINE_BOOL_CONFIG_OPTION (bindingsDump, QML_BINDINGS_DUMP) | |
static bool | ValuePtrLessThan (const QDeclarativeParser::Value *t1, const QDeclarativeParser::Value *t2) |
#define COMPILE_CHECK | ( | a | ) |
Returns false if is false, otherwise does nothing.
Definition at line 173 of file qdeclarativecompiler.cpp.
Referenced by QDeclarativeCompiler::buildAttachedProperty(), QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::buildComponentFromRoot(), QDeclarativeCompiler::buildDynamicMeta(), QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildIdProperty(), QDeclarativeCompiler::buildListProperty(), QDeclarativeCompiler::buildObject(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildPropertyAssignment(), QDeclarativeCompiler::buildPropertyInNamespace(), QDeclarativeCompiler::buildPropertyLiteralAssignment(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::buildSignal(), QDeclarativeCompiler::buildSubObject(), QDeclarativeCompiler::buildValueTypeProperty(), and QDeclarativeCompiler::completeComponentBuild().
#define COMPILE_EXCEPTION | ( | token, | |
desc | |||
) |
Inserts an error into the QDeclarativeCompiler error list, and returns false (failure).
token is used to source the error line and column, and desc is the error itself. desc can be an expression that can be piped into QDebug.
For example:
Definition at line 153 of file qdeclarativecompiler.cpp.
Referenced by QDeclarativeCompiler::buildBinding(), QDeclarativeCompiler::buildComponent(), QDeclarativeCompiler::buildDynamicMeta(), QDeclarativeCompiler::buildGroupedProperty(), QDeclarativeCompiler::buildIdProperty(), QDeclarativeCompiler::buildListProperty(), QDeclarativeCompiler::buildProperty(), QDeclarativeCompiler::buildPropertyAssignment(), QDeclarativeCompiler::buildPropertyInNamespace(), QDeclarativeCompiler::buildPropertyObjectAssignment(), QDeclarativeCompiler::buildPropertyOnAssignment(), QDeclarativeCompiler::buildScriptStringProperty(), QDeclarativeCompiler::buildSignal(), QDeclarativeCompiler::buildValueTypeProperty(), QDeclarativeCompiler::checkDynamicMeta(), QDeclarativeCompiler::checkValidId(), QDeclarativeCompiler::compile(), QDeclarativeCompiler::compileAlias(), QDeclarativeCompiler::mergeDynamicMetaProperties(), QDeclarativeCompiler::testLiteralAssignment(), and QDeclarativeCompiler::testQualifiedEnumAssignment().
|
static |
Definition at line 2695 of file qdeclarativecompiler.cpp.
Referenced by QDeclarativeCompiler::compileAlias().
DEFINE_BOOL_CONFIG_OPTION | ( | compilerDump | , |
QML_COMPILER_DUMP | |||
) |
DEFINE_BOOL_CONFIG_OPTION | ( | compilerStatDump | , |
QML_COMPILER_STATS | |||
) |
DEFINE_BOOL_CONFIG_OPTION | ( | bindingsDump | , |
QML_BINDINGS_DUMP | |||
) |
|
static |
Definition at line 729 of file qdeclarativecompiler.cpp.
Referenced by QDeclarativeCompiler::buildObject().