File tree Expand file tree Collapse file tree 5 files changed +20676
-20492
lines changed Expand file tree Collapse file tree 5 files changed +20676
-20492
lines changed Original file line number Diff line number Diff line change @@ -508,6 +508,7 @@ module.exports = grammar({
508
508
_jsx_child : $ => choice (
509
509
$ . jsx_text ,
510
510
$ . _jsx_element ,
511
+ $ . jsx_fragment ,
511
512
$ . jsx_expression
512
513
) ,
513
514
Original file line number Diff line number Diff line change 2078
2078
"type" : " SYMBOL" ,
2079
2079
"name" : " _jsx_element"
2080
2080
},
2081
+ {
2082
+ "type" : " SYMBOL" ,
2083
+ "name" : " jsx_fragment"
2084
+ },
2081
2085
{
2082
2086
"type" : " SYMBOL" ,
2083
2087
"name" : " jsx_expression"
4551
4555
},
4552
4556
{
4553
4557
"type" : " PATTERN" ,
4554
- "value" : " [^*]*\\ *+([^/*][^*]*\\ *+)*"
4558
+ "value" : " [^*]*\\ *+([^\\ /*][^*]*\\ *+)*"
4555
4559
},
4556
4560
{
4557
4561
"type" : " STRING" ,
4713
4717
},
4714
4718
{
4715
4719
"type" : " PATTERN" ,
4716
- "value" : " [^/\\\\\\ [\\ n]"
4720
+ "value" : " [^\\ /\\\\\\ [\\ n]"
4717
4721
}
4718
4722
]
4719
4723
}
5222
5226
"members" : [
5223
5227
{
5224
5228
"type" : " PATTERN" ,
5225
- "value" : " [^\\ x00-\\ x1F\\ s0-9:;`\" '@#.,|^&<=>+\\ -*/\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5229
+ "value" : " [^\\ x00-\\ x1F\\ s0-9:;`\" '@#.,|^&<=>+\\ -*\\ /\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5226
5230
},
5227
5231
{
5228
5232
"type" : " REPEAT" ,
5229
5233
"content" : {
5230
5234
"type" : " PATTERN" ,
5231
- "value" : " [^\\ x00-\\ x1F\\ s:;`\" '@#.,|^&<=>+\\ -*/\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5235
+ "value" : " [^\\ x00-\\ x1F\\ s:;`\" '@#.,|^&<=>+\\ -*\\ /\\\\ %?!~()\\ [\\ ]{}\\ uFEFF\\ u2060\\ u200B\\ u00A0]|\\\\ u[0-9a-fA-F]{4}|\\\\ u\\ {[0-9a-fA-F]+\\ }"
5232
5236
}
5233
5237
}
5234
5238
]
Original file line number Diff line number Diff line change 1559
1559
"type" : " jsx_expression" ,
1560
1560
"named" : true
1561
1561
},
1562
+ {
1563
+ "type" : " jsx_fragment" ,
1564
+ "named" : true
1565
+ },
1562
1566
{
1563
1567
"type" : " jsx_self_closing_element" ,
1564
1568
"named" : true
1609
1613
"type" : " jsx_expression" ,
1610
1614
"named" : true
1611
1615
},
1616
+ {
1617
+ "type" : " jsx_fragment" ,
1618
+ "named" : true
1619
+ },
1612
1620
{
1613
1621
"type" : " jsx_self_closing_element" ,
1614
1622
"named" : true
You can’t perform that action at this time.
0 commit comments