aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/parser/expr.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Extract askama_parser crateLibravatar Dirkjan Ochtman2023-07-311-285/+0
|
* derive: move generator-specific methods out of ExprLibravatar Dirkjan Ochtman2023-07-311-71/+0
|
* Fix Rust macro invocations not accepting a path (#837)Libravatar Matthew Taylor2023-07-241-14/+24
|
* Fix typosLibravatar René Kijewski2023-02-241-11/+11
|
* derive: refactor parserLibravatar René Kijewski2023-01-301-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.