Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-07-31 | Extract askama_parser crate | 1 | -712/+0 | ||
2023-07-31 | derive: define separate ParseError type | 1 | -2/+2 | ||
2023-07-31 | derive: move Syntax into parser module | 1 | -2/+1 | ||
2023-07-24 | Fix Rust macro invocations not accepting a path (#837) | 1 | -0/+45 | ||
2023-02-21 | Revert "derive: Make Config `'static`" | 1 | -2/+2 | ||
2023-01-30 | derive: refactor parser | 1 | -0/+668 | ||
`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. |