File tree 3 files changed +13682
-12440
lines changed
3 files changed +13682
-12440
lines changed Original file line number Diff line number Diff line change 8076
8076
}
8077
8077
]
8078
8078
},
8079
- "comment" : {
8080
- "type" : " CHOICE" ,
8081
- "members" : [
8082
- {
8083
- "type" : " SYMBOL" ,
8084
- "name" : " line_comment"
8085
- },
8086
- {
8087
- "type" : " SYMBOL" ,
8088
- "name" : " block_comment"
8089
- }
8090
- ]
8079
+ "doc_comment" : {
8080
+ "type" : " TOKEN" ,
8081
+ "content" : {
8082
+ "type" : " SEQ" ,
8083
+ "members" : [
8084
+ {
8085
+ "type" : " STRING" ,
8086
+ "value" : " ///"
8087
+ },
8088
+ {
8089
+ "type" : " PATTERN" ,
8090
+ "value" : " .*"
8091
+ }
8092
+ ]
8093
+ }
8091
8094
},
8092
8095
"line_comment" : {
8093
8096
"type" : " TOKEN" ,
8094
8097
"content" : {
8095
8098
"type" : " SEQ" ,
8096
8099
"members" : [
8097
8100
{
8098
- "type" : " STRING " ,
8099
- "value" : " // "
8101
+ "type" : " PATTERN " ,
8102
+ "value" : " \\ / \\ /[^/] "
8100
8103
},
8101
8104
{
8102
8105
"type" : " PATTERN" ,
8281
8284
{
8282
8285
"type" : " SYMBOL" ,
8283
8286
"name" : " block_comment"
8287
+ },
8288
+ {
8289
+ "type" : " SYMBOL" ,
8290
+ "name" : " doc_comment"
8284
8291
}
8285
8292
],
8286
8293
"conflicts" : [
Original file line number Diff line number Diff line change 4748
4748
"type" : " default" ,
4749
4749
"named" : false
4750
4750
},
4751
+ {
4752
+ "type" : " doc_comment" ,
4753
+ "named" : true
4754
+ },
4751
4755
{
4752
4756
"type" : " dyn" ,
4753
4757
"named" : false
You can’t perform that action at this time.
0 commit comments