42 #include "private/qdeclarativecompiler_p.h" 45 #include "private/qdeclarativecomponent_p.h" 47 #include "private/qdeclarativecontext_p.h" 49 #include <QtCore/qdebug.h> 51 #include <private/qobject_p.h> 60 for (
unsigned int ii = 0; (ii + size) <= ps; ii +=
sizeof(int)) {
61 if (0 == ::memcmp(p + ii, data, size))
106 for (
int jj = 0; jj < count; ++jj) {
118 for (
int ii = 0; ii < count; ++ii)
130 for (
int jj = 0; jj < count; ++jj) {
142 for (
int ii = 0; ii < count; ++ii)
171 for (
int ii = 0; ii <
types.count(); ++ii) {
172 if (
types.at(ii).component)
173 types.at(ii).component->release();
174 if (
types.at(ii).typePropertyCache)
175 types.at(ii).typePropertyCache->release();
207 return type->metaObject();
220 return typePropertyCache;
230 if (typePropertyCache) {
231 return typePropertyCache;
234 typePropertyCache->
addref();
235 return typePropertyCache;
246 qWarning().nospace() <<
"Index\tLine\tOperation\t\tData1\tData2\tData3\tComments";
247 qWarning().nospace() <<
"-------------------------------------------------------------------------------";
251 qWarning().nospace() <<
"-------------------------------------------------------------------------------";
QList< QDeclarativeParser::Location > locations
#define QT_END_NAMESPACE
This macro expands to.
int indexForString(const QString &)
int indexForByteArray(const QByteArray &)
const QMetaObject * metaObject() const
QByteArray & append(char c)
Appends the character ch to this byte array.
int indexForFloat(float *, int)
The QByteArray class provides an array of bytes.
QDeclarativePropertyCache * cache(QObject *obj)
Returns a QDeclarativePropertyCache for obj if one is available.
virtual ~QDeclarativeCompiledData()
int count(const T &t) const
Returns the number of occurrences of value in the list.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
static QDeclarativeEnginePrivate * get(QDeclarativeEngine *e)
QDeclarativePropertyCache * createPropertyCache(QDeclarativeEngine *)
Returns the property cache, creating one if it doesn't already exist.
int indexForLocation(const QDeclarativeParser::Location &)
#define QT_BEGIN_NAMESPACE
This macro expands to.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
const T & at(int i) const
Returns the item at index position i in the list.
Q_CORE_EXPORT void qWarning(const char *,...)
static const char * data(const QByteArray &arr)
QList< QScriptProgram * > cachedPrograms
QList< QDeclarativePropertyCache * > propertyCaches
static qreal component(const QPointF &point, unsigned int i)
QList< QString > primitives
QList< QScriptValue * > cachedClosures
QList< QDeclarativeIntegerCache * > contextCaches
const char * constData() const
Returns a pointer to the data stored in the byte array.
QDeclarativePropertyCache * rootPropertyCache
void dump(QDeclarativeInstruction *, int idx=-1)
int indexOf(const T &t, int from=0) const
Returns the index position of the first occurrence of value in the list, searching forward from index...
The QDeclarativeEngine class provides an environment for instantiating QML components.
QDeclarativePropertyCache * propertyCache() const
Returns the property cache, if one alread exists.
int indexForUrl(const QUrl &)
int indexForInt(int *, int)
int size() const
Returns the number of bytes in this byte array.
The QDeclarativeCleanup provides a callback when a QDeclarativeEngine is deleted. ...
QDeclarativeTypeNameCache * importCache
Q_OUTOFLINE_TEMPLATE void qDeleteAll(ForwardIterator begin, ForwardIterator end)
int pack(const char *, size_t)
QDeclarativeCompiledData(QDeclarativeEngine *engine)
QList< TypeReference > types
QList< QDeclarativeInstruction > bytecode
QList< QByteArray > datas