aboutsummaryrefslogtreecommitdiff
path: root/src/grammar.json
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-14 22:41:18 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-14 22:41:18 +0200
commitcf97e10eae80d4be90a771dcec38ce6b3a119173 (patch)
tree8a4a3e52bf222bcdb0afb898aabf4fc26d068c91 /src/grammar.json
parent11b47b424b7576c536216bb7e3bcbaaa65f5acd4 (diff)
Update the testsv2.0.0
Diffstat (limited to 'src/grammar.json')
-rw-r--r--src/grammar.json44
1 files changed, 26 insertions, 18 deletions
diff --git a/src/grammar.json b/src/grammar.json
index 8fbe7dc..5132fed 100644
--- a/src/grammar.json
+++ b/src/grammar.json
@@ -215,17 +215,21 @@
"value": "#"
},
{
- "type": "ALIAS",
+ "type": "FIELD",
+ "name": "name",
"content": {
- "type": "IMMEDIATE_TOKEN",
+ "type": "ALIAS",
"content": {
- "type": "PATTERN",
- "value": "\\p{XID_Start}[-\\p{XID_Continue}]*",
- "flags": "u"
- }
- },
- "named": true,
- "value": "ident"
+ "type": "IMMEDIATE_TOKEN",
+ "content": {
+ "type": "PATTERN",
+ "value": "\\p{XID_Start}[-\\p{XID_Continue}]*",
+ "flags": "u"
+ }
+ },
+ "named": true,
+ "value": "ident"
+ }
}
]
},
@@ -237,17 +241,21 @@
"value": "."
},
{
- "type": "ALIAS",
+ "type": "FIELD",
+ "name": "name",
"content": {
- "type": "IMMEDIATE_TOKEN",
+ "type": "ALIAS",
"content": {
- "type": "PATTERN",
- "value": "\\p{XID_Start}[-\\p{XID_Continue}]*",
- "flags": "u"
- }
- },
- "named": true,
- "value": "ident"
+ "type": "IMMEDIATE_TOKEN",
+ "content": {
+ "type": "PATTERN",
+ "value": "\\p{XID_Start}[-\\p{XID_Continue}]*",
+ "flags": "u"
+ }
+ },
+ "named": true,
+ "value": "ident"
+ }
}
]
},