You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see there are some demand for reading jsdoc information, let's do this in two steps:
parse jsdoc into structured data, this should be lazy.
save them into trivias and have them accessible. I haven't figured out the best way to do this, but see AST Trivia handling #6 for disucssion.
Note: This is for parsing jsdoc comments to structured data. This is not about wiring up all the jsdoc comments into a document tree (which is the main purpose for jsdoc).
To parse jsdoc comments, we need to:
add a new routine to parse jsdoc in oxc_parser, this should be a separate routine so we can parse jsdoc lazily
add the jsdoc AST to oxc_ast
setup jsdoc tests (I'm unsure on how to do this properly yet).
I see there are some demand for reading jsdoc information, let's do this in two steps:
Note: This is for parsing jsdoc comments to structured data. This is not about wiring up all the jsdoc comments into a document tree (which is the main purpose for jsdoc).
To parse jsdoc comments, we need to:
References: