aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/fusion/basic.fusion
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query/highlights/fusion/basic.fusion')
-rw-r--r--tests/query/highlights/fusion/basic.fusion61
1 files changed, 61 insertions, 0 deletions
diff --git a/tests/query/highlights/fusion/basic.fusion b/tests/query/highlights/fusion/basic.fusion
new file mode 100644
index 000000000..7149956a1
--- /dev/null
+++ b/tests/query/highlights/fusion/basic.fusion
@@ -0,0 +1,61 @@
+include: SomeFile.fusion
+//<- include
+// ^punctation.delimiter
+// ^uri
+
+namespace ns = Neos.Fusion.Space
+//<- keyword
+// ^namespace
+// ^operator
+// ^namespace
+
+prototype(MyType) < prototype(ns:SuperType) {
+//<-keyword
+// ^punctation.bracket
+// ^type
+// ^punctation.bracket
+// ^operator
+// ^namespace
+// ^type
+
+ deleteProp >
+ // ^operator
+
+ string = 'value'
+ //<- property
+ // ^operator
+ // ^string
+
+ number = 10.2
+ // ^number
+
+ null = null
+ // ^constant.builtin
+
+ boolean = true
+ // ^boolean
+
+ property.inner = "value"
+ //<- property
+ // ^property
+
+ property.@meta = "value"
+ //<- property
+ // ^attribute
+
+ property.type = SomeType
+ //<- property
+ // ^type
+
+ property.aliasedType = ns:SomeType
+ //<- property
+ // ^namespace
+ // ^type
+
+ property.fullQualifiedType = SomeNamespace:SomeType
+ //<- property
+ // ^namespace
+ // ^type
+
+}
+