From da5fffbd34d8be68f8ee4c649881dbb673c9c0a5 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 10 Feb 2018 23:22:13 +0100 Subject: Partially support binding patterns Destructuring objects works, but arrays are not yet supported. Change-Id: I61e917e1964e3c719f71b8f11d194e09dfe288c2 Reviewed-by: Simon Hausmann --- src/qml/parser/qqmljsastfwd_p.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/qml/parser/qqmljsastfwd_p.h') diff --git a/src/qml/parser/qqmljsastfwd_p.h b/src/qml/parser/qqmljsastfwd_p.h index 1aa285697f..7a8bdf1b63 100644 --- a/src/qml/parser/qqmljsastfwd_p.h +++ b/src/qml/parser/qqmljsastfwd_p.h @@ -164,6 +164,11 @@ class FunctionSourceElement; class StatementSourceElement; class DebuggerStatement; class NestedExpression; +class BindingElement; +class BindingElementList; +class BindingPropertyList; +class BindingElement; +class BindingRestElement; // ui elements class UiProgram; -- cgit v1.2.3