42 #ifndef QDECLARATIVECOMPILER_P_H 43 #define QDECLARATIVECOMPILER_P_H 58 #include "private/qdeclarativeinstruction_p.h" 59 #include "private/qdeclarativeparser_p.h" 60 #include "private/qdeclarativeengine_p.h" 61 #include "private/qbitfield_p.h" 62 #include "private/qdeclarativepropertycache_p.h" 63 #include "private/qdeclarativeintegercache_p.h" 64 #include "private/qdeclarativetypenamecache_p.h" 65 #include "private/qdeclarativetypeloader_p.h" 67 #include <QtCore/qbytearray.h> 68 #include <QtCore/qset.h> 69 #include <QtCore/QCoreApplication> 128 void dumpInstructions();
131 virtual void clear();
139 int pack(
const char *,
size_t);
141 int indexForString(
const QString &);
143 int indexForFloat(
float *,
int);
144 int indexForInt(
int *,
int);
147 int indexForUrl(
const QUrl &);
159 bool isError()
const;
162 static bool isAttachedPropertyName(
const QByteArray &);
174 : stack(0),
owner(0), object(0) {}
176 : stack(0),
owner(0), object(o) {}
179 rv.
stack = stack + 1;
253 bool completeComponentBuild();
272 int genContextCache();
277 int componentTypeRef();
308 : parserStatusCount(0), pushedProperties(0), root(0) {}
336 void saveComponentState();
351 #endif // QDECLARATIVECOMPILER_P_H
QHash< QDeclarativeParser::Value *, BindingContext > signalExpressions
QList< QDeclarativeParser::Location > locations
QList< QDeclarativeError > exceptions
#define QT_END_NAMESPACE
This macro expands to.
The QByteArray class provides an array of bytes.
Q_CORE_EXPORT QTextStream & reset(QTextStream &s)
QDeclarativePropertyCache * typePropertyCache
ComponentStat componentStat
static void clear(QVariant::Private *d)
QList< QDeclarativeParser::Object::ScriptBlock > scripts
QDeclarativeParser::Object * root
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
BindingContext incr() const
The QHash class is a template class that provides a hash-table-based dictionary.
The QObject class is the base class of all Qt objects.
QDeclarativeParser::Property * property
QList< QDeclarativeParser::LocationSpan > optimizedBindings
QDeclarativeEngine * engine
QByteArray compiledBindingData
ComponentCompileState compileState
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QDeclarativeComponent class encapsulates a QML component definition.
QList< ComponentStat > savedComponentStats
BindingContext(QDeclarativeParser::Object *o)
The QStringList class provides a list of strings.
QDeclarativeCompiledData * output
static const char * data(const QByteArray &arr)
QList< QScriptProgram * > cachedPrograms
QDeclarativeParser::Object * unitRoot
QList< QDeclarativeParser::LocationSpan > scriptBindings
QList< QDeclarativePropertyCache * > propertyCaches
static qreal component(const QPointF &point, unsigned int i)
BindingContext bindingContext
QDeclarativeCompiledData * component
Q_CORE_EXPORT int QT_FASTCALL script(uint ucs4)
QList< QString > primitives
QList< QScriptValue * > cachedClosures
QList< QDeclarativeIntegerCache * > contextCaches
QDeclarativeTypeData * unit
QDeclarativePropertyCache * rootPropertyCache
QDeclarativeParser::Value * value
The QDeclarativeEngine class provides an environment for instantiating QML components.
QHash< QString, QDeclarativeParser::Object * > ids
QList< QDeclarativeParser::Object * > aliasingObjects
QDeclarativeParser::Object * object
#define Q_AUTOTEST_EXPORT
QAbstractDynamicMetaObject rootData
static QString dump(const QByteArray &)
The QDeclarativeContext class defines a context within a QML engine.
QList< CustomTypeData > customTypeData
QHash< QDeclarativeParser::Value *, BindingReference > bindings
The QScriptProgram class encapsulates a Qt Script program.
static bool isSignalPropertyName(const QString &signalName)
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
QHash< int, QDeclarativeParser::Object * > idIndexes
QDeclarativeTypeNameCache * importCache
QDeclarativeEnginePrivate * enginePrivate
QDeclarativeParser::Variant expression
#define Q_DECLARE_TR_FUNCTIONS(context)
The Q_DECLARE_TR_FUNCTIONS() macro declares and implements two translation functions, tr() and trUtf8(), with these signatures:
QList< TypeReference > types
bool isSubContext() const
QList< QDeclarativeInstruction > bytecode
QList< QByteArray > datas
QHash< QDeclarativeParser::Object *, ComponentCompileState > savedCompileStates