Skip to content

Commit 83044af

Browse files
committed
chore: generate
1 parent 6b43c05 commit 83044af

File tree

3 files changed

+30479
-30070
lines changed

3 files changed

+30479
-30070
lines changed

src/grammar.json

Lines changed: 115 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,33 +1345,22 @@
13451345
}
13461346
},
13471347
"_multiline_string_fragment": {
1348-
"type": "PREC_RIGHT",
1349-
"value": 0,
1350-
"content": {
1351-
"type": "CHOICE",
1352-
"members": [
1353-
{
1354-
"type": "PATTERN",
1355-
"value": "[^\"]+"
1356-
},
1357-
{
1358-
"type": "SEQ",
1359-
"members": [
1360-
{
1361-
"type": "PATTERN",
1362-
"value": "\"[^\"]*"
1363-
},
1364-
{
1365-
"type": "REPEAT",
1366-
"content": {
1367-
"type": "PATTERN",
1368-
"value": "[^\"]+"
1369-
}
1370-
}
1371-
]
1372-
}
1373-
]
1374-
}
1348+
"type": "CHOICE",
1349+
"members": [
1350+
{
1351+
"type": "PATTERN",
1352+
"value": "[^\"\\\\]+"
1353+
},
1354+
{
1355+
"type": "SEQ",
1356+
"members": [
1357+
{
1358+
"type": "PATTERN",
1359+
"value": "\"([^\"\\\\]|\\\\\")*"
1360+
}
1361+
]
1362+
}
1363+
]
13751364
},
13761365
"string_interpolation": {
13771366
"type": "SEQ",
@@ -2998,27 +2987,43 @@
29982987
"value": "new"
29992988
},
30002989
{
3001-
"type": "REPEAT",
3002-
"content": {
3003-
"type": "SYMBOL",
3004-
"name": "_annotation"
3005-
}
3006-
},
3007-
{
3008-
"type": "FIELD",
3009-
"name": "type_arguments",
3010-
"content": {
3011-
"type": "CHOICE",
3012-
"members": [
3013-
{
2990+
"type": "CHOICE",
2991+
"members": [
2992+
{
2993+
"type": "SEQ",
2994+
"members": [
2995+
{
2996+
"type": "REPEAT",
2997+
"content": {
2998+
"type": "SYMBOL",
2999+
"name": "_annotation"
3000+
}
3001+
},
3002+
{
3003+
"type": "FIELD",
3004+
"name": "type_arguments",
3005+
"content": {
3006+
"type": "SYMBOL",
3007+
"name": "type_arguments"
3008+
}
3009+
},
3010+
{
3011+
"type": "REPEAT",
3012+
"content": {
3013+
"type": "SYMBOL",
3014+
"name": "_annotation"
3015+
}
3016+
}
3017+
]
3018+
},
3019+
{
3020+
"type": "REPEAT",
3021+
"content": {
30143022
"type": "SYMBOL",
3015-
"name": "type_arguments"
3016-
},
3017-
{
3018-
"type": "BLANK"
3023+
"name": "_annotation"
30193024
}
3020-
]
3021-
}
3025+
}
3026+
]
30223027
},
30233028
{
30243029
"type": "FIELD",
@@ -6538,6 +6543,10 @@
65386543
{
65396544
"type": "SYMBOL",
65406545
"name": "annotation_type_declaration"
6546+
},
6547+
{
6548+
"type": "STRING",
6549+
"value": ";"
65416550
}
65426551
]
65436552
}
@@ -7349,59 +7358,82 @@
73497358
"type": "SYMBOL",
73507359
"name": "receiver_parameter"
73517360
},
7352-
{
7353-
"type": "BLANK"
7354-
}
7355-
]
7356-
},
7357-
{
7358-
"type": "CHOICE",
7359-
"members": [
73607361
{
73617362
"type": "SEQ",
73627363
"members": [
73637364
{
73647365
"type": "CHOICE",
73657366
"members": [
73667367
{
7367-
"type": "SYMBOL",
7368-
"name": "formal_parameter"
7368+
"type": "SEQ",
7369+
"members": [
7370+
{
7371+
"type": "SYMBOL",
7372+
"name": "receiver_parameter"
7373+
},
7374+
{
7375+
"type": "STRING",
7376+
"value": ","
7377+
}
7378+
]
73697379
},
73707380
{
7371-
"type": "SYMBOL",
7372-
"name": "spread_parameter"
7381+
"type": "BLANK"
73737382
}
73747383
]
73757384
},
73767385
{
7377-
"type": "REPEAT",
7378-
"content": {
7379-
"type": "SEQ",
7380-
"members": [
7381-
{
7382-
"type": "STRING",
7383-
"value": ","
7384-
},
7385-
{
7386-
"type": "CHOICE",
7387-
"members": [
7388-
{
7389-
"type": "SYMBOL",
7390-
"name": "formal_parameter"
7391-
},
7392-
{
7393-
"type": "SYMBOL",
7394-
"name": "spread_parameter"
7386+
"type": "CHOICE",
7387+
"members": [
7388+
{
7389+
"type": "SEQ",
7390+
"members": [
7391+
{
7392+
"type": "CHOICE",
7393+
"members": [
7394+
{
7395+
"type": "SYMBOL",
7396+
"name": "formal_parameter"
7397+
},
7398+
{
7399+
"type": "SYMBOL",
7400+
"name": "spread_parameter"
7401+
}
7402+
]
7403+
},
7404+
{
7405+
"type": "REPEAT",
7406+
"content": {
7407+
"type": "SEQ",
7408+
"members": [
7409+
{
7410+
"type": "STRING",
7411+
"value": ","
7412+
},
7413+
{
7414+
"type": "CHOICE",
7415+
"members": [
7416+
{
7417+
"type": "SYMBOL",
7418+
"name": "formal_parameter"
7419+
},
7420+
{
7421+
"type": "SYMBOL",
7422+
"name": "spread_parameter"
7423+
}
7424+
]
7425+
}
7426+
]
73957427
}
7396-
]
7397-
}
7398-
]
7399-
}
7428+
}
7429+
]
7430+
},
7431+
{
7432+
"type": "BLANK"
7433+
}
7434+
]
74007435
}
74017436
]
7402-
},
7403-
{
7404-
"type": "BLANK"
74057437
}
74067438
]
74077439
},

0 commit comments

Comments
 (0)