mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
> The error message emphasizes "empty text" so I would put the span on the extra text. > https://github.com/oxc-project/oxc/pull/2893#discussion_r1548843621 To address this, special `Span` handling should be implemented for comment part. So, this PR introduces: - `JSDocCommentPart` struct holds raw `.span` and special `.span_trimmed_first_line()` - Add `JSDocKindPart`, `JSDocTypePart` and `JSDocTypeNamePart` in the same manner - `JSDocTag` uses these depending on the purpose |
||
|---|---|---|
| .. | ||
| examples | ||
| src | ||
| tests | ||
| Cargo.toml | ||
| CHANGELOG.md | ||