Skip to content

Commit d6791cf

Browse files
committed
chore: generate
1 parent be8ecb6 commit d6791cf

File tree

3 files changed

+33395
-32202
lines changed

3 files changed

+33395
-32202
lines changed

src/grammar.json

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@
13961396
},
13971397
{
13981398
"type": "PATTERN",
1399-
"value": "[^abfnrtvxu'\\\"\\\\\\?]"
1399+
"value": "[^bfnrts'\\\"\\\\]"
14001400
}
14011401
]
14021402
}
@@ -2912,23 +2912,6 @@
29122912
}
29132913
]
29142914
},
2915-
"condition": {
2916-
"type": "SEQ",
2917-
"members": [
2918-
{
2919-
"type": "STRING",
2920-
"value": "("
2921-
},
2922-
{
2923-
"type": "SYMBOL",
2924-
"name": "expression"
2925-
},
2926-
{
2927-
"type": "STRING",
2928-
"value": ")"
2929-
}
2930-
]
2931-
},
29322915
"class_literal": {
29332916
"type": "PREC_DYNAMIC",
29342917
"value": 17,
@@ -4545,7 +4528,7 @@
45454528
"name": "condition",
45464529
"content": {
45474530
"type": "SYMBOL",
4548-
"name": "condition"
4531+
"name": "parenthesized_expression"
45494532
}
45504533
},
45514534
{
@@ -4596,7 +4579,7 @@
45964579
"name": "condition",
45974580
"content": {
45984581
"type": "SYMBOL",
4599-
"name": "condition"
4582+
"name": "parenthesized_expression"
46004583
}
46014584
},
46024585
{
@@ -7723,7 +7706,7 @@
77237706
},
77247707
"identifier": {
77257708
"type": "PATTERN",
7726-
"value": "[\\p{L}_$][\\p{L}\\p{Nd}\\u00A2_$]*"
7709+
"value": "[\\p{XID_Start}_$][\\p{XID_Continue}\\u00A2_$]*"
77277710
},
77287711
"comment": {
77297712
"type": "CHOICE",

src/node-types.json

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,21 +1281,6 @@
12811281
]
12821282
}
12831283
},
1284-
{
1285-
"type": "condition",
1286-
"named": true,
1287-
"fields": {},
1288-
"children": {
1289-
"multiple": false,
1290-
"required": true,
1291-
"types": [
1292-
{
1293-
"type": "expression",
1294-
"named": true
1295-
}
1296-
]
1297-
}
1298-
},
12991284
{
13001285
"type": "constant_declaration",
13011286
"named": true,
@@ -2189,7 +2174,7 @@
21892174
"required": true,
21902175
"types": [
21912176
{
2192-
"type": "condition",
2177+
"type": "parenthesized_expression",
21932178
"named": true
21942179
}
21952180
]
@@ -4014,7 +3999,7 @@
40143999
"required": true,
40154000
"types": [
40164001
{
4017-
"type": "condition",
4002+
"type": "parenthesized_expression",
40184003
"named": true
40194004
}
40204005
]

0 commit comments

Comments
 (0)