aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsast_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-03-21 10:21:53 +0100
committerLars Knoll <lars.knoll@qt.io>2018-04-27 08:10:44 +0000
commit228d7458bae704fdb8fc0fce987d5d57eced9b5d (patch)
treeb394333439e170fa40ce03b97c218fc4d5218218 /src/qml/parser/qqmljsast_p.h
parenteee070ea3baf8d078ef6dfacce21f1102741775d (diff)
Add support for ... in ArrayLiterals to the AST
The codegen still throws a syntax error for now. Change-Id: I8134b27d6153f6d6df81a9bafc7ae9d573085b73 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/parser/qqmljsast_p.h')
-rw-r--r--src/qml/parser/qqmljsast_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/parser/qqmljsast_p.h b/src/qml/parser/qqmljsast_p.h
index 6992985097..f07d4f88bc 100644
--- a/src/qml/parser/qqmljsast_p.h
+++ b/src/qml/parser/qqmljsast_p.h
@@ -639,6 +639,7 @@ public:
ExpressionNode *expression;
ElementList *next;
SourceLocation commaToken;
+ bool isSpreadElement = false;
};
class QML_PARSER_EXPORT PropertyName: public Node