2022-12-04 00:07:26 +03:00
|
|
|
{
|
|
|
|
"name": "d2",
|
2022-12-04 18:35:50 +03:00
|
|
|
"word": "_word",
|
2022-12-04 00:07:26 +03:00
|
|
|
"rules": {
|
|
|
|
"source_file": {
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_definition"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_definition": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
2022-12-04 18:35:50 +03:00
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_root_attribute"
|
2022-12-04 18:35:50 +03:00
|
|
|
},
|
|
|
|
{
|
2022-12-04 23:45:53 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "connection"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "shape"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"connection": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
2022-12-04 03:21:42 +03:00
|
|
|
"name": "identifier"
|
2022-12-04 00:07:26 +03:00
|
|
|
},
|
|
|
|
{
|
2022-12-04 03:25:38 +03:00
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "arrow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "identifier"
|
|
|
|
},
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_colon"
|
2022-12-04 03:25:38 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "label"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "REPEAT1",
|
|
|
|
"content": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "arrow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "identifier"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2022-12-04 00:07:26 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_end"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"shape": {
|
2022-12-04 03:13:40 +03:00
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "identifier"
|
|
|
|
},
|
2022-12-04 03:36:46 +03:00
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "dot"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "identifier"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-12-04 03:13:40 +03:00
|
|
|
{
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "CHOICE",
|
2022-12-04 03:13:40 +03:00
|
|
|
"members": [
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "dot"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_shape_attribute"
|
|
|
|
}
|
|
|
|
]
|
2022-12-04 03:13:40 +03:00
|
|
|
},
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "BLANK"
|
2022-12-04 03:13:40 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_colon"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "label"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "BLANK"
|
|
|
|
}
|
|
|
|
]
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
2022-12-04 03:13:40 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_end"
|
|
|
|
}
|
|
|
|
]
|
2022-12-04 00:07:26 +03:00
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "string"
|
|
|
|
},
|
|
|
|
{
|
2022-12-04 03:36:46 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_unquoted_string"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"identifier": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_identifier"
|
|
|
|
},
|
2022-12-04 23:45:53 +03:00
|
|
|
"attr_value": {
|
2022-12-04 18:35:50 +03:00
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
2022-12-04 23:45:53 +03:00
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_unquoted_string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_root_attribute": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "ALIAS",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_root_attr_key"
|
|
|
|
},
|
|
|
|
"named": true,
|
|
|
|
"value": "attr_key"
|
|
|
|
},
|
2022-12-04 18:35:50 +03:00
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_colon"
|
2022-12-04 23:45:53 +03:00
|
|
|
},
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "attr_value"
|
2022-12-04 23:45:53 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_end"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_root_attr_key": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "direction"
|
|
|
|
},
|
|
|
|
"_style_attribute": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "ALIAS",
|
|
|
|
"content": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "style"
|
|
|
|
},
|
|
|
|
"named": true,
|
|
|
|
"value": "attr_key"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "dot"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ALIAS",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_style_attr_key"
|
|
|
|
},
|
|
|
|
"named": true,
|
|
|
|
"value": "attr_key"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
2022-12-05 00:26:24 +03:00
|
|
|
"name": "_colon"
|
2022-12-04 23:45:53 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
2022-12-05 00:26:24 +03:00
|
|
|
"name": "attr_value"
|
2022-12-04 23:45:53 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_shape_attribute": {
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "CHOICE",
|
2022-12-04 23:45:53 +03:00
|
|
|
"members": [
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "SEQ",
|
2022-12-04 23:45:53 +03:00
|
|
|
"members": [
|
|
|
|
{
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "ALIAS",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_shape_attr_key"
|
|
|
|
},
|
|
|
|
"named": true,
|
|
|
|
"value": "attr_key"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_colon"
|
2022-12-04 23:45:53 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
2022-12-05 00:26:24 +03:00
|
|
|
"name": "attr_value"
|
2022-12-04 23:45:53 +03:00
|
|
|
}
|
|
|
|
]
|
2022-12-05 00:26:24 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_style_attribute"
|
2022-12-04 23:45:53 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_shape_attr_key": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "shape"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "label"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "constraint"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "icon"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "height"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_style_attr_key": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "opacity"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "fill"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "stroke"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "stroke-width"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "stroke-dash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "border-radius"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "font-color"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "shadow"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "multiple"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "animated"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "3d"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "link"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"_text_attr_key": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "near"
|
|
|
|
},
|
|
|
|
"_connection_attr_key": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "source-arrowhead"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "target-arrowhead"
|
2022-12-04 18:35:50 +03:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-12-04 18:35:37 +03:00
|
|
|
"_identifier": {
|
|
|
|
"type": "PREC_RIGHT",
|
|
|
|
"value": 0,
|
|
|
|
"content": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
2022-12-04 00:07:26 +03:00
|
|
|
"type": "STRING",
|
2022-12-04 18:35:37 +03:00
|
|
|
"value": " "
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
2022-12-04 18:35:37 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "BLANK"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_word"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT1",
|
|
|
|
"content": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_word"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": " "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_word"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "BLANK"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
2022-12-04 00:07:26 +03:00
|
|
|
"type": "STRING",
|
2022-12-04 18:35:37 +03:00
|
|
|
"value": " "
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2022-12-05 00:26:24 +03:00
|
|
|
"_colon": {
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": " "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": ":"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": " "
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-12-04 18:35:37 +03:00
|
|
|
"_dash": {
|
|
|
|
"type": "IMMEDIATE_TOKEN",
|
|
|
|
"content": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "-"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"_word": {
|
|
|
|
"type": "PATTERN",
|
|
|
|
"value": "[\\w\\d]+"
|
|
|
|
},
|
|
|
|
"arrow": {
|
|
|
|
"type": "PREC_LEFT",
|
|
|
|
"value": 0,
|
|
|
|
"content": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "--"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
2022-12-04 00:07:26 +03:00
|
|
|
"type": "STRING",
|
2022-12-04 18:35:37 +03:00
|
|
|
"value": "<-"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
}
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
2022-12-04 18:35:37 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "<-"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-12-04 00:07:26 +03:00
|
|
|
"type": "STRING",
|
2022-12-04 18:35:37 +03:00
|
|
|
"value": ">"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
2022-12-04 18:35:37 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
|
|
|
"type": "SYMBOL",
|
|
|
|
"name": "_dash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2022-12-04 00:07:26 +03:00
|
|
|
"type": "STRING",
|
2022-12-04 18:35:37 +03:00
|
|
|
"value": "->"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
2022-12-04 18:35:37 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2022-12-04 00:07:26 +03:00
|
|
|
},
|
2022-12-04 03:36:46 +03:00
|
|
|
"_unquoted_string": {
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "IMMEDIATE_TOKEN",
|
|
|
|
"content": {
|
|
|
|
"type": "PATTERN",
|
|
|
|
"value": "[^'\"`\\n;{]+"
|
|
|
|
}
|
2022-12-04 03:36:46 +03:00
|
|
|
},
|
2022-12-04 00:07:26 +03:00
|
|
|
"string": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "'"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "IMMEDIATE_TOKEN",
|
2022-12-04 00:07:26 +03:00
|
|
|
"content": {
|
|
|
|
"type": "PATTERN",
|
|
|
|
"value": "[^'\\n]+"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "'"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "\""
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "IMMEDIATE_TOKEN",
|
2022-12-04 00:07:26 +03:00
|
|
|
"content": {
|
|
|
|
"type": "PATTERN",
|
2022-12-05 00:26:24 +03:00
|
|
|
"value": "[^\"\\n]+"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "\""
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SEQ",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "`"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "REPEAT",
|
|
|
|
"content": {
|
2022-12-05 00:26:24 +03:00
|
|
|
"type": "IMMEDIATE_TOKEN",
|
2022-12-04 00:07:26 +03:00
|
|
|
"content": {
|
|
|
|
"type": "PATTERN",
|
2022-12-05 00:26:24 +03:00
|
|
|
"value": "[^`\\n]+"
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "`"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2022-12-04 23:45:53 +03:00
|
|
|
},
|
|
|
|
"_end": {
|
|
|
|
"type": "CHOICE",
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": ";"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "\n"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "\u0000"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dot": {
|
|
|
|
"type": "STRING",
|
|
|
|
"value": "."
|
2022-12-04 00:07:26 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"extras": [
|
|
|
|
{
|
|
|
|
"type": "PATTERN",
|
|
|
|
"value": "\\s"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"conflicts": [],
|
|
|
|
"precedences": [],
|
2022-12-04 18:35:37 +03:00
|
|
|
"externals": [],
|
2022-12-04 00:07:26 +03:00
|
|
|
"inline": [],
|
|
|
|
"supertypes": []
|
|
|
|
}
|
|
|
|
|