ruff/crates/ruff_python_parser/src
Dhruv Manilawala 81160320de
Manual impl of Debug on Token (#11958)
## Summary

I look at the token stream a lot, not specifically in the playground but
in the terminal output and it's annoying to scroll a lot to find
specific location. Most of the information is also redundant.

The final format we end up with is: `<kind> <range> (flags = ...)` e.g.,
`String 0..4 (flags = BYTE_STRING)` where the flags part is only
populated if there are any flags set.
2024-06-22 04:18:24 +00:00
..
lexer Maintain synchronicity between the lexer and the parser (#11457) 2024-06-03 18:23:50 +05:30
parser Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
snapshots Lexer should consider BOM for the start offset (#11732) 2024-06-04 08:45:46 +00:00
error.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
lexer.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
lib.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
string.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
token.rs Manual impl of Debug on Token (#11958) 2024-06-22 04:18:24 +00:00
token_set.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
token_source.rs Move token and error structs into related modules (#11957) 2024-06-21 10:07:19 +00:00
typing.rs Update type annotation parsing API to return Parsed (#11739) 2024-06-05 12:59:43 +05:30