Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extract askama_parser crate | 2023-07-31 | 1 | -381/+0 | |
| | |||||
* | derive: move Parsed into parser module | 2023-07-31 | 1 | -0/+34 | |
| | |||||
* | derive: define separate ParseError type | 2023-07-31 | 1 | -6/+17 | |
| | |||||
* | derive: move Syntax into parser module | 2023-07-31 | 1 | -1/+23 | |
| | |||||
* | Parse templates once | 2023-06-28 | 1 | -4/+1 | |
| | |||||
* | Revert "derive: Make Config `'static`" | 2023-02-21 | 1 | -13/+16 | |
| | |||||
* | derive: refactor parser | 2023-01-30 | 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. |