aboutsummaryrefslogtreecommitdiff
path: root/src/node-types.json
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2023-10-04 14:06:17 +0200
committerRuben Beltran del Rio <ruben@unlimited.pizza>2023-10-04 14:06:17 +0200
commit4a1d56285559545a56cb7c79a0ea1564f01e09e5 (patch)
treea600684f681d4b8c401ab1fc9d2a770ac5ea56d7 /src/node-types.json
parent0931d6ef75e5dc37ba6bd7bb92c369d1df99e6d3 (diff)
Add optionals
Diffstat (limited to 'src/node-types.json')
-rw-r--r--src/node-types.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/node-types.json b/src/node-types.json
index 95b68ab..7365fad 100644
--- a/src/node-types.json
+++ b/src/node-types.json
@@ -51,6 +51,10 @@
"required": false,
"types": [
{
+ "type": "optional_value",
+ "named": true
+ },
+ {
"type": "parameter_list",
"named": true
},
@@ -106,6 +110,11 @@
"fields": {}
},
{
+ "type": "optional_value",
+ "named": true,
+ "fields": {}
+ },
+ {
"type": "parameter_list",
"named": true,
"fields": {},
@@ -257,6 +266,14 @@
"named": false
},
{
+ "type": "[",
+ "named": false
+ },
+ {
+ "type": "]",
+ "named": false
+ },
+ {
"type": "~>",
"named": false
}