Expand description
Extract JSDoc comments from the oxc comment list.
oxc stores all comments in a flat sorted Vec<Comment> on Program.
Each Comment has an attached_to field — the byte offset of the token
the comment is leading. We match JSDoc (/** ... */) comments to AST
nodes by comparing comment.attached_to with node.span.start.
Structs§
- DocComments
- Provides JSDoc lookup by span position.