oxc/crates/oxc_parser/src
Boshen 603817bef9 feat(oxc)!: add SourceType::Unambiguous; parse .js as unambiguous (#5557)
See https://babel.dev/docs/options#misc-options for background on `unambiguous`

Once `SourceType::Unambiguous` is parsed, it will correctly set the returned `Program::source_type` to either `module` or `script`.
2024-09-07 10:48:58 +00:00
..
js feat(oxc)!: add SourceType::Unambiguous; parse .js as unambiguous (#5557) 2024-09-07 10:48:58 +00:00
jsx feat(ast)!: add ThisExpression variants to JSXElementName and JSXMemberExpressionObject (#5466) 2024-09-05 02:06:20 +00:00
lexer chore: run cargo +nightly fmt to sort imports (#5503) 2024-09-06 04:04:26 +00:00
ts chore: run cargo +nightly fmt to sort imports (#5503) 2024-09-06 04:04:26 +00:00
context.rs feat(parser): parse decorators properly (#2603) 2024-03-04 19:30:41 +08:00
cursor.rs fix(parser): change unterminated regex error to be non-recoverable (#5285) 2024-08-28 01:57:31 +00:00
diagnostics.rs refactor(linter): use meaningful names for diagnostic parameters (#5564) 2024-09-06 18:14:56 -04:00
lib.rs feat(oxc)!: add SourceType::Unambiguous; parse .js as unambiguous (#5557) 2024-09-07 10:48:58 +00:00
modifiers.rs chore: run cargo +nightly fmt to sort imports (#5503) 2024-09-06 04:04:26 +00:00
state.rs chore: improve some format by running cargo +nightly fmt 2024-06-19 00:48:30 +08:00