aboutsummaryrefslogtreecommitdiff
path: root/src/node-types.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/node-types.json')
-rw-r--r--src/node-types.json39
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
},