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.json42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/node-types.json b/src/node-types.json
index 806fb1f..d255c74 100644
--- a/src/node-types.json
+++ b/src/node-types.json
@@ -51,16 +51,17 @@
{
"type": "class_attr",
"named": true,
- "fields": {},
- "children": {
- "multiple": false,
- "required": true,
- "types": [
- {
- "type": "ident",
- "named": true
- }
- ]
+ "fields": {
+ "name": {
+ "multiple": false,
+ "required": true,
+ "types": [
+ {
+ "type": "ident",
+ "named": true
+ }
+ ]
+ }
}
},
{
@@ -121,16 +122,17 @@
{
"type": "id_attr",
"named": true,
- "fields": {},
- "children": {
- "multiple": false,
- "required": true,
- "types": [
- {
- "type": "ident",
- "named": true
- }
- ]
+ "fields": {
+ "name": {
+ "multiple": false,
+ "required": true,
+ "types": [
+ {
+ "type": "ident",
+ "named": true
+ }
+ ]
+ }
}
},
{