summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/parser/javascriptast_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/parser/javascriptast_p.h')
-rw-r--r--src/declarative/qml/parser/javascriptast_p.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/declarative/qml/parser/javascriptast_p.h b/src/declarative/qml/parser/javascriptast_p.h
index 4a5f553..de34ab2 100644
--- a/src/declarative/qml/parser/javascriptast_p.h
+++ b/src/declarative/qml/parser/javascriptast_p.h
@@ -215,7 +215,8 @@ public:
Kind_UiScriptBinding,
Kind_UiArrayBinding,
Kind_UiObjectMemberList,
- Kind_UiQualifiedId
+ Kind_UiQualifiedId,
+ Kind_UiSourceElement
};
inline Node()
@@ -1674,6 +1675,19 @@ public:
SourceLocation rbraceToken;
};
+class UiSourceElement: public UiObjectMember
+{
+public:
+ UiSourceElement(Statement *sourceElement)
+ : sourceElement(sourceElement)
+ { kind = Kind_UiSourceElement; }
+
+ virtual void accept0(Visitor *visitor);
+
+// attributes
+ Statement *sourceElement;
+};
+
class UiObjectBinding: public UiObjectMember
{
public: