Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-31 | parser: move nested_parenthesis() helper into node module | Dirkjan Ochtman | 1 | -3/+49 | |
2023-07-31 | Extract askama_parser crate | Dirkjan Ochtman | 1 | -1/+1 | |
2023-07-31 | derive: move generator-specific methods out of Expr | Dirkjan Ochtman | 1 | -71/+0 | |
2023-07-24 | Fix Rust macro invocations not accepting a path (#837) | Matthew Taylor | 1 | -14/+24 | |
2023-02-24 | Fix typos | René Kijewski | 1 | -11/+11 | |
2023-01-30 | derive: refactor parser | René Kijewski | 1 | -0/+346 | |
`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. |