diff options
| author | Jirgn <jirgn76@googlemail.com> | 2021-11-26 16:37:51 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-26 22:04:59 +0100 |
| commit | 979c32493d1edabb949badf00da9d130d966aaae (patch) | |
| tree | 1ecc73f323a2a72910d24714cab880acd8886d8f /tests/query/highlights/fusion/basic.fusion | |
| parent | fbbcfa7b6c0841e19f39836a7c5561fd9cc6900f (diff) | |
feat: add fusion grammar and highlights
Diffstat (limited to 'tests/query/highlights/fusion/basic.fusion')
| -rw-r--r-- | tests/query/highlights/fusion/basic.fusion | 61 |
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 00000000..7149956a --- /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 + +} + |
