aboutsummaryrefslogtreecommitdiffstats
path: root/askama_codegen/src/parser.rs
diff options
context:
space:
mode:
authorLibravatar Ciprian Dorin Craciun <ciprian@volution.ro>2020-05-25 13:21:39 +0300
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-06-30 14:10:57 +0200
commite71e6806496027089b5c3f0dd764bebe9abbf735 (patch)
treee52dab626e5aea327c49174bd477ded5ab5789ab /askama_codegen/src/parser.rs
parent40931224e8760043e9cef843ffbc621a8b1adb03 (diff)
downloadaskama-e71e6806496027089b5c3f0dd764bebe9abbf735.tar.gz
askama-e71e6806496027089b5c3f0dd764bebe9abbf735.tar.bz2
askama-e71e6806496027089b5c3f0dd764bebe9abbf735.zip
Add support for more whitespace positions within expressions:
* in function calls: `x ( 1 , 2 )`; * in path elements: `module :: element`; * in attributes: `x . y . z`; * in filter arguments: `x| filter ( 1 , 2 )`; * before unary operators: `! false` and `- 42`; * in grouped expressions: `( 1 + 2 )`; * also allow more than a single whitespace; Change some tests to include whitespaces in various positions.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions