add field name to block to highlight its name

This commit is contained in:
mhoffm
2021-06-08 01:08:07 +02:00
parent c4bfe1228f
commit dae5dc8248
5 changed files with 632 additions and 512 deletions

View File

@@ -47,8 +47,12 @@
"type": "SEQ",
"members": [
{
"type": "SYMBOL",
"name": "identifier"
"type": "FIELD",
"name": "type",
"content": {
"type": "SYMBOL",
"name": "identifier"
}
},
{
"type": "REPEAT",
@@ -198,8 +202,17 @@
{
"type": "REPEAT",
"content": {
"type": "PATTERN",
"value": "."
"type": "CHOICE",
"members": [
{
"type": "PATTERN",
"value": "[^\\\\\"\\n]"
},
{
"type": "PATTERN",
"value": "\\\\(.|\\n)"
}
]
}
},
{