aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/ranges.txt
diff options
context:
space:
mode:
authorLibravatar René Kijewski <rene.kijewski@fu-berlin.de>2023-01-30 12:52:50 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-01-30 14:19:46 +0100
commit7b6f1df433a7f11612608644342b898cd6be8ff5 (patch)
tree478aafb88f9814fe235ee983213da5aa74a13e0a /testing/templates/ranges.txt
parent63b98ec7d379768d771966c6aa44de20862e0994 (diff)
downloadaskama-7b6f1df433a7f11612608644342b898cd6be8ff5.tar.gz
askama-7b6f1df433a7f11612608644342b898cd6be8ff5.tar.bz2
askama-7b6f1df433a7f11612608644342b898cd6be8ff5.zip
derive: refactor parser
`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.
Diffstat (limited to 'testing/templates/ranges.txt')
0 files changed, 0 insertions, 0 deletions