Skip to content

Commit b09ed6e

Browse files
committed
regenerate parser
1 parent 7890688 commit b09ed6e

File tree

3 files changed

+48394
-49410
lines changed

3 files changed

+48394
-49410
lines changed

src/grammar.json

+12-29
Original file line numberDiff line numberDiff line change
@@ -8168,35 +8168,6 @@
81688168
}
81698169
]
81708170
},
8171-
"comment": {
8172-
"type": "CHOICE",
8173-
"members": [
8174-
{
8175-
"type": "SYMBOL",
8176-
"name": "line_comment"
8177-
},
8178-
{
8179-
"type": "SYMBOL",
8180-
"name": "block_comment"
8181-
}
8182-
]
8183-
},
8184-
"line_comment": {
8185-
"type": "TOKEN",
8186-
"content": {
8187-
"type": "SEQ",
8188-
"members": [
8189-
{
8190-
"type": "STRING",
8191-
"value": "//"
8192-
},
8193-
{
8194-
"type": "PATTERN",
8195-
"value": ".*"
8196-
}
8197-
]
8198-
}
8199-
},
82008171
"_path": {
82018172
"type": "CHOICE",
82028173
"members": [
@@ -8377,6 +8348,10 @@
83778348
{
83788349
"type": "SYMBOL",
83798350
"name": "block_comment"
8351+
},
8352+
{
8353+
"type": "SYMBOL",
8354+
"name": "doc_comment"
83808355
}
83818356
],
83828357
"conflicts": [
@@ -8422,6 +8397,14 @@
84228397
{
84238398
"type": "SYMBOL",
84248399
"name": "block_comment"
8400+
},
8401+
{
8402+
"type": "SYMBOL",
8403+
"name": "line_comment"
8404+
},
8405+
{
8406+
"type": "SYMBOL",
8407+
"name": "doc_comment"
84258408
}
84268409
],
84278410
"inline": [

src/node-types.json

+4
Original file line numberDiff line numberDiff line change
@@ -4787,6 +4787,10 @@
47874787
"type": "default",
47884788
"named": false
47894789
},
4790+
{
4791+
"type": "doc_comment",
4792+
"named": true
4793+
},
47904794
{
47914795
"type": "dyn",
47924796
"named": false

0 commit comments

Comments
 (0)