Commit Graph

6 Commits

Author SHA1 Message Date
overlookmotel 66744f0eb9 feat(parser)!: rename panicked to fatal_error in ParserReturn (#26382)
`ParserReturn` contains a property `panicked`.

The name `panicked` is misleading. The parser did _not_ panic. When `true`, it means that the parser encountered a fatal error and is unable to parse the source, because it contains an unrecoverable syntax error.

Rename this property to `fatal_error`, to better describe what it means.

This is a breaking change, but one that's trivial to fix in downstream code - the property doesn't change its meaning or behavior, just its name.

All the changes in this PR in other crates are just reacting to this change and making everywhere use the term "fatal error" instead of "panicked", so the codebase is consistent.
2026-09-07 09:41:52 +00:00
camc314 930537326c docs(oxc): update README (#22178)
- removes `trivias` from `ParserReturn` (removed in https://github.com/oxc-project/oxc/commit/520096030a61a41d067554939bd4eb57f0c63e73)
 - reflects that `sourcemap` module is exposed via codegen
 - adds note about ast_visit module
 - removes non existent `sourcemap_concurrent`, `wasm` features
2026-05-06 09:03:16 +00:00
Boshen 5e05d1b1aa feat(semantic): put jsdoc behind linter feature, remove runtime flag (#14140) 2025-09-26 06:28:44 +00:00
Boshen 520096030a refactor(oxc)!: remove passing Trivias around (#6446)
part of #6426
2024-10-11 06:09:25 +00:00
Boshen 2b7be08af4 feat(ast)! add source_text to Program (#6444) 2024-10-11 04:13:41 +00:00
DonIsaac d60ceb4a0b docs(oxc): add README.md and crate-level docs (#6035) 2024-09-25 02:16:31 +00:00