simplify whitespace handling; support hexadecimal numeric literals; allow empty configs

This commit is contained in:
mhoffm
2021-06-20 00:03:58 +02:00
parent b1c3109853
commit 22d0a7253c
15 changed files with 12984 additions and 13226 deletions

View File

@@ -117,7 +117,7 @@
"fields": {},
"children": {
"multiple": true,
"required": false,
"required": true,
"types": [
{
"type": "attribute",
@@ -126,10 +126,6 @@
{
"type": "block",
"named": true
},
{
"type": "one_line_block",
"named": true
}
]
}
@@ -179,7 +175,7 @@
"fields": {},
"children": {
"multiple": false,
"required": true,
"required": false,
"types": [
{
"type": "body",
@@ -488,6 +484,11 @@
]
}
},
{
"type": "numeric_lit",
"named": true,
"fields": {}
},
{
"type": "object",
"named": true,
@@ -518,29 +519,6 @@
]
}
},
{
"type": "one_line_block",
"named": true,
"fields": {},
"children": {
"multiple": true,
"required": true,
"types": [
{
"type": "expression",
"named": true
},
{
"type": "identifier",
"named": true
},
{
"type": "string_lit",
"named": true
}
]
}
},
{
"type": "operation",
"named": true,
@@ -878,10 +856,6 @@
"type": "null_lit",
"named": true
},
{
"type": "numeric_lit",
"named": true
},
{
"type": "strip_marker",
"named": true