ruff/crates/ruff_python_parser/src/parser
Dhruv Manilawala 96da136e6a
Move token and error structs into related modules (#11957)
## Summary

This PR does some housekeeping into moving certain structs into related
modules. Specifically,
1. Move `LexicalError` from `lexer.rs` to `error.rs` which also contains
the `ParseError`
2. Move `Token`, `TokenFlags` and `TokenValue` from `lexer.rs` to
`token.rs`
2024-06-21 10:07:19 +00:00
..
snapshots Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
expression.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
helpers.rs Refactor binary expression parsing (#11073) 2024-04-23 04:42:40 +00:00
mod.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
pattern.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
progress.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
recovery.rs Refactor the ExprDict node (#11267) 2024-05-07 11:46:10 +00:00
statement.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
tests.rs Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30