Skip to content

Commit

Permalink
regenerate parser for 'doc_comments'
Browse files Browse the repository at this point in the history
  • Loading branch information
resolritter committed Jan 7, 2021
1 parent a60f92b commit 314b2b8
Show file tree
Hide file tree
Showing 3 changed files with 13,682 additions and 12,440 deletions.
35 changes: 21 additions & 14 deletions src/grammar.json
Original file line number Diff line number Diff line change
Expand Up @@ -8076,27 +8076,30 @@
}
]
},
"comment": {
"type": "CHOICE",
"members": [
{
"type": "SYMBOL",
"name": "line_comment"
},
{
"type": "SYMBOL",
"name": "block_comment"
}
]
"doc_comment": {
"type": "TOKEN",
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "///"
},
{
"type": "PATTERN",
"value": ".*"
}
]
}
},
"line_comment": {
"type": "TOKEN",
"content": {
"type": "SEQ",
"members": [
{
"type": "STRING",
"value": "//"
"type": "PATTERN",
"value": "\\/\\/[^/]"
},
{
"type": "PATTERN",
Expand Down Expand Up @@ -8281,6 +8284,10 @@
{
"type": "SYMBOL",
"name": "block_comment"
},
{
"type": "SYMBOL",
"name": "doc_comment"
}
],
"conflicts": [
Expand Down
4 changes: 4 additions & 0 deletions src/node-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -4748,6 +4748,10 @@
"type": "default",
"named": false
},
{
"type": "doc_comment",
"named": true
},
{
"type": "dyn",
"named": false
Expand Down
Loading

0 comments on commit 314b2b8

Please sign in to comment.