summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmldom.h
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2009-06-10 10:02:29 (GMT)
committerErik Verbruggen <erik.verbruggen@nokia.com>2009-06-10 10:02:29 (GMT)
commitc0bbe44ab6290dee088138c01724779026d2c033 (patch)
treef6344fcf5fc9cd5fe58754afbac3c68c3438d33a /src/declarative/qml/qmldom.h
parentbf750d1df7e1474ffddc547205f7f20520559ea7 (diff)
downloadQt-c0bbe44ab6290dee088138c01724779026d2c033.zip
Qt-c0bbe44ab6290dee088138c01724779026d2c033.tar.gz
Qt-c0bbe44ab6290dee088138c01724779026d2c033.tar.bz2
Changed the QML parser and the AST to store the position of comma tokens
of QML arrays. Also exposed these positions through the QML DOM.
Diffstat (limited to 'src/declarative/qml/qmldom.h')
-rw-r--r--src/declarative/qml/qmldom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h
index 442a4fc..fde35a8 100644
--- a/src/declarative/qml/qmldom.h
+++ b/src/declarative/qml/qmldom.h
@@ -268,6 +268,8 @@ public:
int position() const;
int length() const;
+ QList<int> commaPositions() const;
+
private:
friend class QmlDomValue;
QSharedDataPointer<QmlDomValuePrivate> d;