Skip to content

Commit 59bf0d3

Browse files
committed
regenerate parser for 'doc_comments'
1 parent be26083 commit 59bf0d3

File tree

3 files changed

+41368
-40264
lines changed

3 files changed

+41368
-40264
lines changed

src/grammar.json

+12-29
Original file line numberDiff line numberDiff line change
@@ -8076,35 +8076,6 @@
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-
]
8091-
},
8092-
"line_comment": {
8093-
"type": "TOKEN",
8094-
"content": {
8095-
"type": "SEQ",
8096-
"members": [
8097-
{
8098-
"type": "STRING",
8099-
"value": "//"
8100-
},
8101-
{
8102-
"type": "PATTERN",
8103-
"value": ".*"
8104-
}
8105-
]
8106-
}
8107-
},
81088079
"_path": {
81098080
"type": "CHOICE",
81108081
"members": [
@@ -8281,6 +8252,10 @@
82818252
{
82828253
"type": "SYMBOL",
82838254
"name": "block_comment"
8255+
},
8256+
{
8257+
"type": "SYMBOL",
8258+
"name": "doc_comment"
82848259
}
82858260
],
82868261
"conflicts": [
@@ -8325,6 +8300,14 @@
83258300
{
83268301
"type": "SYMBOL",
83278302
"name": "block_comment"
8303+
},
8304+
{
8305+
"type": "SYMBOL",
8306+
"name": "line_comment"
8307+
},
8308+
{
8309+
"type": "SYMBOL",
8310+
"name": "doc_comment"
83288311
}
83298312
],
83308313
"inline": [

src/node-types.json

+4
Original file line numberDiff line numberDiff line change
@@ -4748,6 +4748,10 @@
47484748
"type": "default",
47494749
"named": false
47504750
},
4751+
{
4752+
"type": "doc_comment",
4753+
"named": true
4754+
},
47514755
{
47524756
"type": "dyn",
47534757
"named": false

0 commit comments

Comments
 (0)