ruff/parser/src
konsti db04fd4157
Refactor if statement, introduce nodes for elif and else (#22)
The old if layout couldn't differentiate between an else block with a
single if statement and an elif statement. Additionally we getting rid
of the recursion in favor of a single if struct with a vec of elif/else
children. This is accompanied by a big refactoring in ruff which removes
a bunch of TODOs and false negatives.
2023-07-18 13:14:40 +02:00
..
gen Regenerate code with latest ASDL 2023-07-17 14:49:14 -05:00
snapshots Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
context.rs Remove Range type parameter from AST nodes (#15) 2023-06-23 21:18:55 +01:00
function.rs Remove Range type parameter from AST nodes (#15) 2023-06-23 21:18:55 +01:00
lexer.rs Lex Jupyter line magic with `Mode::Jupyter` (#23) 2023-07-18 09:24:24 +05:30
lib.rs Remove `fold`, `unparse`, and `location` features (#9) 2023-06-19 17:26:17 -04:00
parser.rs Lex Jupyter line magic with `Mode::Jupyter` (#23) 2023-07-18 09:24:24 +05:30
python.lalrpop Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
python.rs Refactor if statement, introduce nodes for elif and else (#22) 2023-07-18 13:14:40 +02:00
soft_keywords.rs Add parsing of type alias statements i.e. the `type` keyword (#97) 2023-07-17 14:49:14 -05:00
string.rs Parse Trait (#71) 2023-05-28 21:03:27 +09:00
token.rs Lex Jupyter line magic with `Mode::Jupyter` (#23) 2023-07-18 09:24:24 +05:30