aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/parser/qqmljsast_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2018-03-21 10:37:27 +0100
committerLars Knoll <lars.knoll@qt.io>2018-04-27 08:10:48 +0000
commit602073631e73f8be3933e9500cb81170b2f4c1c0 (patch)
treead2cb9ef72116335e90f25db5db03531d1602874 /src/qml/parser/qqmljsast_p.h
parent228d7458bae704fdb8fc0fce987d5d57eced9b5d (diff)
Add support for '...' in arguments lists to the AST
No support in the codegen yet. Change-Id: I9998d7abae086660fc0457c65b6d9050933a428f 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 f07d4f88bc..8e25924a8d 100644
--- a/src/qml/parser/qqmljsast_p.h
+++ b/src/qml/parser/qqmljsast_p.h
@@ -1029,6 +1029,7 @@ public:
ExpressionNode *expression;
ArgumentList *next;
SourceLocation commaToken;
+ bool isSpreadElement = false;
};
class QML_PARSER_EXPORT PostIncrementExpression: public ExpressionNode