diff options
Diffstat (limited to 'QtVsTools.Package/QML/Syntax/QmlAst.cs')
-rw-r--r-- | QtVsTools.Package/QML/Syntax/QmlAst.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/QtVsTools.Package/QML/Syntax/QmlAst.cs b/QtVsTools.Package/QML/Syntax/QmlAst.cs index 6e5482dc..61de275a 100644 --- a/QtVsTools.Package/QML/Syntax/QmlAst.cs +++ b/QtVsTools.Package/QML/Syntax/QmlAst.cs @@ -33,7 +33,7 @@ namespace QtVsTools.Qml.Syntax { public enum AstNodeKind { - #region Copied from qqmljsast_p.h + #region Copied from qqmljsast_p.h: enum Node::Kind Undefined, ArgumentList, @@ -132,12 +132,15 @@ namespace QtVsTools.Qml.Syntax PatternElementList, PatternProperty, PatternPropertyList, - + Type, + TypeArgumentList, + TypeAnnotation, UiArrayBinding, UiImport, UiObjectBinding, UiObjectDefinition, + UiInlineComponent, UiObjectInitializer, UiObjectMemberList, UiArrayMemberList, @@ -150,7 +153,11 @@ namespace QtVsTools.Qml.Syntax UiSourceElement, UiHeaderItemList, UiEnumDeclaration, - UiEnumMemberList + UiEnumMemberList, + UiVersionSpecifier, + UiRequired, + UiAnnotation, + UiAnnotationList #endregion } @@ -167,7 +174,6 @@ namespace QtVsTools.Qml.Syntax public UiImport() : base(AstNodeKind.UiImport) { } public SourceLocation ImportToken { get; set; } public SourceLocation FileNameToken { get; set; } - public SourceLocation VersionToken { get; set; } public SourceLocation AsToken { get; set; } public SourceLocation ImportIdToken { get; set; } public SourceLocation SemicolonToken { get; set; } |