aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2017-03-06Use enumerate() for much simpler loop indexes (fixes #10)Libravatar Dirkjan Ochtman1-23/+5
2017-03-06Better support for Iterator variants in for loop (fixes #8)Libravatar Dirkjan Ochtman1-2/+2
2017-03-06Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman1-0/+0
2017-03-06Remove unused TemplateFrom types (fixes #5)Libravatar Dirkjan Ochtman1-11/+0
2017-03-03Add basic support for commentsLibravatar Dirkjan Ochtman1-0/+1
2017-03-03Add support for parenthesized expressionsLibravatar Dirkjan Ochtman1-0/+7
2017-02-19Add support for loop.index and loop.index0 variablesLibravatar Dirkjan Ochtman1-0/+30
2017-02-18Add support for method callsLibravatar Dirkjan Ochtman1-0/+14
2017-02-18Implement support for format filterLibravatar Dirkjan Ochtman1-1/+6
2017-02-18Add support for filters with multiple argumentsLibravatar Dirkjan Ochtman1-3/+8
2017-02-18Add support for attributesLibravatar Dirkjan Ochtman1-0/+6
2017-02-17Add support for integer literalsLibravatar Dirkjan Ochtman1-0/+5
2017-02-14Be smarter about writing indentation correctlyLibravatar Dirkjan Ochtman1-24/+11
2017-02-14Fix indentation for else clausesLibravatar Dirkjan Ochtman1-1/+1
2017-02-14Tweak trait handling to get rid of struct implsLibravatar Dirkjan Ochtman1-41/+24
2017-02-14Move code for whitespace handling aroundLibravatar Dirkjan Ochtman1-20/+20
2017-02-14Remove some useless cruftLibravatar Dirkjan Ochtman1-1/+0
2017-02-13Generically represent binary operators in parse treeLibravatar Dirkjan Ochtman1-3/+3
2017-02-12Explicitly pass trait implementation to top-level base template methodLibravatar Dirkjan Ochtman1-16/+29
2017-02-12Remove lifetime annotations from trait definitionLibravatar Dirkjan Ochtman1-6/+5
2017-02-12Improve Generator impl/trait writing method namesLibravatar Dirkjan Ochtman1-8/+8
2017-02-12Improve formatting of generated codeLibravatar Dirkjan Ochtman1-4/+5
2017-02-12Refactor implementation of template inheritanceLibravatar Dirkjan Ochtman1-13/+40
2017-02-12Rename functions to move away from 'into' suffixLibravatar Dirkjan Ochtman1-6/+6
2017-02-08Fix some bugs in whitespace handlingLibravatar Dirkjan Ochtman1-7/+22
2017-02-08Implement generator support for whitespace handling markersLibravatar Dirkjan Ochtman1-25/+68
2017-02-08Move handling of Node::Lit parts into write_lit() methodLibravatar Dirkjan Ochtman1-7/+5
2017-02-08Simplify write_lit() methodLibravatar Dirkjan Ochtman1-3/+1
2017-02-08Convert everything to &str in the parser codeLibravatar Dirkjan Ochtman1-6/+5
2017-02-08Add support for whitespace handling markers to parserLibravatar Dirkjan Ochtman1-8/+8
2017-02-08Simplify code generation for block definitionsLibravatar Dirkjan Ochtman1-22/+17
2017-02-08Split leading and trailing whitespace out of literalsLibravatar Dirkjan Ochtman1-1/+5
2017-02-08Assorted cleanups as suggested by clippyLibravatar Dirkjan Ochtman1-1/+1
2017-02-08Simplify types for Nodes and Conds, pass slice where possibleLibravatar Dirkjan Ochtman1-8/+8
2017-02-08Stop taking references where unneededLibravatar Dirkjan Ochtman1-10/+10
2017-02-08Purge useless format!() callsLibravatar Dirkjan Ochtman1-2/+2
2017-02-08Deref in match header as suggested by clippyLibravatar Dirkjan Ochtman1-17/+17
2017-02-05Implement basic support for template inheritanceLibravatar Dirkjan Ochtman1-2/+98
2017-02-05Simplify writing of template struct implLibravatar Dirkjan Ochtman1-9/+4
2017-02-05Extract helper function from Generator classLibravatar Dirkjan Ochtman1-15/+15
2017-02-05Add parser support for block and extend blocksLibravatar Dirkjan Ochtman1-0/+8
2017-02-05Generate path-based type aliasesLibravatar Dirkjan Ochtman1-1/+24
2017-02-05Improve name and ownership of AST vectorLibravatar Dirkjan Ochtman1-6/+6
2017-02-05Clarify code around writing template implLibravatar Dirkjan Ochtman1-8/+6
2017-02-05Move some code around to group related partsLibravatar Dirkjan Ochtman1-27/+27
2017-02-05Add support for string literalsLibravatar Dirkjan Ochtman1-0/+5
2017-02-05Extend Template API to avoid need for multiple buffersLibravatar Dirkjan Ochtman1-6/+4
2017-02-04Generalize support for comparison operatorsLibravatar Dirkjan Ochtman1-3/+4
2017-02-04Add support for == operatorLibravatar Dirkjan Ochtman1-0/+7
2017-02-04Add support for lifetime annotations on template structsLibravatar Dirkjan Ochtman1-3/+21