oxc/crates/oxc_parser/src/lexer
Boshen bcdbba3981 feat(codegen): print jsdoc comments that are attached to statements and class elements (#5845)
I am unable to print all comments correctly. Comments have way too much semantic meaning in JavaScript.

This PR reduces the scope to only print jsdoc comments that are attached to statements and class elements, in order to get isolated declarations shipped.
2024-09-18 07:58:22 +00:00
..
byte_handlers.rs refactor(parser): convert lexer byte handler for | to a single match (#4575) 2024-07-31 03:33:00 +00:00
comment.rs fix(parser): hashbang comment should not keep the end newline char (#5844) 2024-09-18 05:41:44 +00:00
identifier.rs refactor(parser): shorten lexer code (#4562) 2024-07-31 00:28:48 +00:00
jsx.rs refactor(parser): shorten lexer code (#4562) 2024-07-31 00:28:48 +00:00
kind.rs docs(parser): add module and struct level documentation (#5831) 2024-09-18 06:27:24 +00:00
mod.rs feat(parser): calculate leading and trailing position for comments (#5785) 2024-09-16 16:37:35 +00:00
number.rs perf(rust): use cow_utils instead (#5664) 2024-09-11 18:39:30 +08:00
numeric.rs perf(parser): fast path for ASCII when checking char after numeric literal (#4577) 2024-07-31 03:33:05 +00:00
punctuation.rs refactor(parser): convert Lexer::read_minus to a single match (#4574) 2024-07-31 03:32:57 +00:00
regex.rs chore: run cargo +nightly fmt to sort imports (#5503) 2024-09-06 04:04:26 +00:00
search.rs refactor(parser): improve example for byte_search! macro usage (#5234) 2024-08-26 14:22:37 +00:00
source.rs perf(parser): make not at EOF the hot path in Source methods (#4576) 2024-07-31 03:33:02 +00:00
string.rs refactor(parser): shorten lexer code (#4562) 2024-07-31 00:28:48 +00:00
template.rs refactor(parser): improve lexer pointer maths (#5233) 2024-08-26 14:22:36 +00:00
token.rs chore(deps): remove static_assertions dependency. (#4883) 2024-08-14 02:18:06 +00:00
trivia_builder.rs feat(codegen): print jsdoc comments that are attached to statements and class elements (#5845) 2024-09-18 07:58:22 +00:00
typescript.rs fix(parser): correctly parse cls.fn<C> = x (#3208) 2024-05-09 10:23:45 +08:00
unicode.rs perf(parser): faster decoding unicode escapes in identifiers (#4579) 2024-07-31 03:33:08 +00:00
whitespace.rs feat(parser): calculate leading and trailing position for comments (#5785) 2024-09-16 16:37:35 +00:00