Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-31 | parser: simplify top-level parser match | Dirkjan Ochtman | 1 | -29/+24 | |
2023-07-31 | parser: add top-level Ast type | Dirkjan Ochtman | 1 | -33/+40 | |
2023-07-31 | parser: move nested_parenthesis() helper into node module | Dirkjan Ochtman | 1 | -48/+0 | |
2023-07-31 | parser: move helper functions into State impl | Dirkjan Ochtman | 1 | -61/+61 | |
2023-07-31 | parser: move trait impl closer to type definition | Dirkjan Ochtman | 1 | -11/+0 | |
2023-07-31 | parser: move single-use functions into caller | Dirkjan Ochtman | 1 | -13/+13 | |
2023-07-31 | Extract askama_parser crate | Dirkjan Ochtman | 1 | -15/+18 | |
2023-07-31 | derive: move Parsed into parser module | Dirkjan Ochtman | 1 | -0/+34 | |
2023-07-31 | derive: define separate ParseError type | Dirkjan Ochtman | 1 | -6/+17 | |
2023-07-31 | derive: move Syntax into parser module | Dirkjan Ochtman | 1 | -1/+23 | |
2023-06-28 | Parse templates once | Dirkjan Ochtman | 1 | -4/+1 | |
2023-02-21 | Revert "derive: Make Config `'static`" | René Kijewski | 1 | -13/+16 | |
2023-01-30 | derive: refactor parser | René Kijewski | 1 | -0/+314 | |
`parser.rs` was a single file containing almost 2000 lines. This PR split the file into multiple, smaller files. `Expr`, `Node`, and `Target` each get an own file. Each struct gets a `parse()` method that return `Result<Self>`, and every other detail is private to the file. This PR should make this essential part of Askama more easy to understand, and make future modifications easier. |