diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-14 18:10:53 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-14 18:10:53 +0200 |
commit | cde4f74ed9dffa1415d9021c343eb599e8866b4d (patch) | |
tree | 68cd8ec7ed3458515736ef825abcf39979602338 /src/node-types.json | |
parent | c549d8b3bbbade9ccb8c208295b35f5afbc7913b (diff) |
Update the grammar a bit
Diffstat (limited to 'src/node-types.json')
-rw-r--r-- | src/node-types.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/node-types.json b/src/node-types.json index 3a77c7d..ebd7712 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -42,6 +42,29 @@ } }, { + "type": "comment", + "named": true, + "fields": {}, + "children": { + "multiple": true, + "required": false, + "types": [ + { + "type": "attribute_list", + "named": true + }, + { + "type": "node_body", + "named": true + }, + { + "type": "node_name", + "named": true + } + ] + } + }, + { "type": "node", "named": true, "fields": {}, @@ -73,6 +96,10 @@ "required": false, "types": [ { + "type": "comment", + "named": true + }, + { "type": "node", "named": true }, @@ -92,6 +119,10 @@ "required": false, "types": [ { + "type": "comment", + "named": true + }, + { "type": "node", "named": true } @@ -107,6 +138,10 @@ "required": true, "types": [ { + "type": "comment", + "named": true + }, + { "type": "literal_text", "named": true }, @@ -122,6 +157,10 @@ "named": false }, { + "type": "/", + "named": false + }, + { "type": "=", "named": false }, |