aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2017-08-08Add helper methods to abstract away dealing with scopesLibravatar Dirkjan Ochtman1-3/+17
2017-08-08Add some comments to clarify structure of the code generatorLibravatar Dirkjan Ochtman1-0/+8
2017-08-08Reorganize code order in askama_derive modulesLibravatar Dirkjan Ochtman1-82/+82
2017-08-08Clean up use statements in code generatorLibravatar Dirkjan Ochtman1-1/+4
2017-08-08Implement Deref<Parent> for inheriting templates (fixes #28)Libravatar Dirkjan Ochtman1-0/+31
2017-08-08Refactor handling of paths and trait namesLibravatar Dirkjan Ochtman1-18/+20
2017-08-08Move path_as_identifier() closer to driverLibravatar Dirkjan Ochtman1-12/+12
2017-08-08Add some comments to clarify code generator methodsLibravatar Dirkjan Ochtman1-0/+6
2017-08-08Simplify write_header() method by taking trait name directlyLibravatar Dirkjan Ochtman1-12/+6
2017-08-06Share HashSet for locals among nested GeneratorsLibravatar Dirkjan Ochtman1-10/+14
2017-08-06Expand include node to template source during code generationLibravatar Dirkjan Ochtman1-3/+5
2017-08-06Allow parent templates to be specified as relative paths (fixes #26)Libravatar Dirkjan Ochtman1-4/+12
2017-08-04Add support for include blocks (see #25)Libravatar Dirkjan Ochtman1-5/+25
2017-03-11Reference askama and std from the global scope (fixes #17)Libravatar Dirkjan Ochtman1-8/+8
2017-03-08Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman1-1/+3
2017-03-08Use if let to better handle Option typeLibravatar Dirkjan Ochtman1-2/+2
2017-03-08Copy type parameters and where clauses (fixes #11)Libravatar Dirkjan Ochtman1-9/+39
2017-03-07Inline annotations() helper into write_header()Libravatar Dirkjan Ochtman1-14/+9
2017-03-07Extract writing of impl headers in generatorLibravatar Dirkjan Ochtman1-10/+14
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