-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* First attempt at parsing. Doesn't work But my machine is dying, so this is an emergency commit. * Parsing sort of works But it's not right yet; the test I added fails. See the TODO I added. * Parse link tag as comment
- Loading branch information
Showing
4 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
tests/baselines/reference/JSDocParsing/DocComments.parsesCorrectly..json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
This comment has been minimized.
Sorry, something went wrong. |
||
"kind": "JSDocComment", | ||
"pos": 0, | ||
"end": 127, | ||
"tags": { | ||
"0": { | ||
"kind": "JSDocTag", | ||
"pos": 63, | ||
"end": 68, | ||
"atToken": { | ||
"kind": "AtToken", | ||
"pos": 63, | ||
"end": 64 | ||
}, | ||
"tagName": { | ||
"kind": "Identifier", | ||
"pos": 64, | ||
"end": 67, | ||
"escapedText": "see" | ||
}, | ||
"comment": "{@link second link text} and {@link Foo|a foo} as well." | ||
}, | ||
"length": 1, | ||
"pos": 63, | ||
"end": 68 | ||
}, | ||
"comment": "{@link first link}\nInside {@link link text} thing" | ||
} |
2 changes: 1 addition & 1 deletion
2
tests/cases/user/TypeScript-Node-Starter/TypeScript-Node-Starter
Submodule TypeScript-Node-Starter
updated
49 files
@sandersn you should name this test.