aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/expr.rs (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-07-31parser: flatten top-level Expr interfaceLibravatar Dirkjan Ochtman1-35/+27
2023-07-31parser: move suffix parsers into impl blockLibravatar Dirkjan Ochtman1-53/+61
2023-07-31parser: move nested_parenthesis() helper into node moduleLibravatar Dirkjan Ochtman1-3/+49
2023-07-31Extract askama_parser crateLibravatar Dirkjan Ochtman1-1/+1
2023-07-31derive: move generator-specific methods out of ExprLibravatar Dirkjan Ochtman1-71/+0
2023-07-24Fix Rust macro invocations not accepting a path (#837)Libravatar Matthew Taylor1-14/+24
2023-02-24Fix typosLibravatar René Kijewski1-11/+11
2023-01-30derive: refactor parserLibravatar René Kijewski1-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.