summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcompiler_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlcompiler_p.h')
-rw-r--r--src/declarative/qml/qmlcompiler_p.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/declarative/qml/qmlcompiler_p.h b/src/declarative/qml/qmlcompiler_p.h
index e2b8388..b885e7b 100644
--- a/src/declarative/qml/qmlcompiler_p.h
+++ b/src/declarative/qml/qmlcompiler_p.h
@@ -48,6 +48,8 @@
#include <qmlerror.h>
#include <private/qmlinstruction_p.h>
#include <private/qmlcompositetypemanager_p.h>
+#include <private/qmlparser_p.h>
+
class QStringList;
QT_BEGIN_NAMESPACE
@@ -56,12 +58,6 @@ class QmlComponent;
class QmlCompiledComponent;
class QmlContext;
-namespace QmlParser {
- class Object;
- class Property;
- class Value;
-};
-
class QmlCompiledData
{
public:
@@ -98,6 +94,7 @@ public:
QList<CustomTypeData> customTypeData;
QList<QByteArray> datas;
QList<QMetaObject *> mos;
+ QList<QmlParser::Location> locations;
QList<QmlInstruction> bytecode;
private:
@@ -106,6 +103,8 @@ private:
int indexForByteArray(const QByteArray &);
int indexForFloat(float *, int);
int indexForInt(int *, int);
+ int indexForLocation(const QmlParser::Location &);
+ int indexForLocation(const QmlParser::LocationSpan &);
};
class Q_DECLARATIVE_EXPORT QmlCompiler