oxc/crates/oxc_parser/src
Boshen 7eb2573178
refactor(parser): parse BigInt lazily (#1924)
This PR partially fixes #1803 and is part of #1880.

BigInt is removed from the `Token` value, so that the token size can be
reduced once we removed all the variants.

`Token` is now also `Copy`, which removes all the `clone` and `drop`
calls.

This yields 5% performance improvement for the parser.
2024-01-08 12:37:20 +08:00
..
js refactor(parser): parse BigInt lazily (#1924) 2024-01-08 12:37:20 +08:00
jsx fix(parser): await in jsx expression 2023-12-19 20:23:16 +08:00
lexer refactor(parser): parse BigInt lazily (#1924) 2024-01-08 12:37:20 +08:00
ts chore: upgrade rustc toolchain to stable 1.75.0 (#1853) 2023-12-29 12:20:51 +08:00
context.rs fix(parser): false postive for "Missing initializer in const declaration" in declare + namespace (#1724) 2023-12-18 17:03:42 +08:00
cursor.rs refactor(parser): parse BigInt lazily (#1924) 2024-01-08 12:37:20 +08:00
diagnostics.rs fix(parser): error on source larger than 4 GiB (#1860) 2024-01-02 11:05:28 +08:00
lib.rs fix(parser): fix incorrectly identified directives (#1885) 2024-01-04 13:39:15 +00:00
list.rs fix(parser): fix crashing on empty ParenthesizedExpression with comments (#263) 2023-04-06 17:16:15 +08:00
state.rs refactor(ast): change Option<Vec> to Vec for decorators (#84) 2023-03-02 15:52:46 +08:00