File tree Expand file tree Collapse file tree 3 files changed +13682
-12440
lines changed Expand file tree Collapse file tree 3 files changed +13682
-12440
lines changed Original file line number Diff line number Diff line change 80768076 }
80778077 ]
80788078 },
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+ }
80918094 },
80928095 "line_comment" : {
80938096 "type" : " TOKEN" ,
80948097 "content" : {
80958098 "type" : " SEQ" ,
80968099 "members" : [
80978100 {
8098- "type" : " STRING " ,
8099- "value" : " // "
8101+ "type" : " PATTERN " ,
8102+ "value" : " \\ / \\ /[^/] "
81008103 },
81018104 {
81028105 "type" : " PATTERN" ,
82818284 {
82828285 "type" : " SYMBOL" ,
82838286 "name" : " block_comment"
8287+ },
8288+ {
8289+ "type" : " SYMBOL" ,
8290+ "name" : " doc_comment"
82848291 }
82858292 ],
82868293 "conflicts" : [
Original file line number Diff line number Diff line change 47484748 "type" : " default" ,
47494749 "named" : false
47504750 },
4751+ {
4752+ "type" : " doc_comment" ,
4753+ "named" : true
4754+ },
47514755 {
47524756 "type" : " dyn" ,
47534757 "named" : false
You can’t perform that action at this time.
0 commit comments