aboutsummaryrefslogtreecommitdiff
path: root/src/grammar.json
diff options
context:
space:
mode:
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"
+ }
}
]
},