simplify whitespace handling; support hexadecimal numeric literals; allow empty configs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user