aboutsummaryrefslogtreecommitdiffstats
path: root/askama/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-061-452/+0
|
* Remove unused TemplateFrom types (fixes #5)Libravatar Dirkjan Ochtman2017-03-061-11/+0
|
* Add basic support for commentsLibravatar Dirkjan Ochtman2017-03-031-0/+1
|
* Add support for parenthesized expressionsLibravatar Dirkjan Ochtman2017-03-031-0/+7
|
* Add support for loop.index and loop.index0 variablesLibravatar Dirkjan Ochtman2017-02-191-0/+30
|
* Add support for method callsLibravatar Dirkjan Ochtman2017-02-181-0/+14
|
* Implement support for format filterLibravatar Dirkjan Ochtman2017-02-181-1/+6
|
* Add support for filters with multiple argumentsLibravatar Dirkjan Ochtman2017-02-181-3/+8
|
* Add support for attributesLibravatar Dirkjan Ochtman2017-02-181-0/+6
|
* Add support for integer literalsLibravatar Dirkjan Ochtman2017-02-171-0/+5
|
* Be smarter about writing indentation correctlyLibravatar Dirkjan Ochtman2017-02-141-24/+11
| | | | | By applying simple if slightly magic heuristics, relieve the need for calls to indent() and dedent() in most places in the code generator.
* Fix indentation for else clausesLibravatar Dirkjan Ochtman2017-02-141-1/+1
|
* Tweak trait handling to get rid of struct implsLibravatar Dirkjan Ochtman2017-02-141-41/+24
|
* Move code for whitespace handling aroundLibravatar Dirkjan Ochtman2017-02-141-20/+20
|
* Remove some useless cruftLibravatar Dirkjan Ochtman2017-02-141-1/+0
|
* Generically represent binary operators in parse treeLibravatar Dirkjan Ochtman2017-02-131-3/+3
|
* Explicitly pass trait implementation to top-level base template methodLibravatar Dirkjan Ochtman2017-02-121-16/+29
| | | | | This requires a base template struct to be a member of the derived template's context, but allows the base template to access base template fields.
* Remove lifetime annotations from trait definitionLibravatar Dirkjan Ochtman2017-02-121-6/+5
|
* Improve Generator impl/trait writing method namesLibravatar Dirkjan Ochtman2017-02-121-8/+8
|
* Improve formatting of generated codeLibravatar Dirkjan Ochtman2017-02-121-4/+5
|
* Refactor implementation of template inheritanceLibravatar Dirkjan Ochtman2017-02-121-13/+40
| | | | This is somewhat less complicated, and should support variables better.
* Rename functions to move away from 'into' suffixLibravatar Dirkjan Ochtman2017-02-121-6/+6
| | | | This is idiomatically used for type conversions.
* Fix some bugs in whitespace handlingLibravatar Dirkjan Ochtman2017-02-081-7/+22
|
* Implement generator support for whitespace handling markersLibravatar Dirkjan Ochtman2017-02-081-25/+68
|
* Move handling of Node::Lit parts into write_lit() methodLibravatar Dirkjan Ochtman2017-02-081-7/+5
|
* Simplify write_lit() methodLibravatar Dirkjan Ochtman2017-02-081-3/+1
|
* Convert everything to &str in the parser codeLibravatar Dirkjan Ochtman2017-02-081-6/+5
|
* Add support for whitespace handling markers to parserLibravatar Dirkjan Ochtman2017-02-081-8/+8
|
* Simplify code generation for block definitionsLibravatar Dirkjan Ochtman2017-02-081-22/+17
|
* Split leading and trailing whitespace out of literalsLibravatar Dirkjan Ochtman2017-02-081-1/+5
|
* Assorted cleanups as suggested by clippyLibravatar Dirkjan Ochtman2017-02-081-1/+1
|
* Simplify types for Nodes and Conds, pass slice where possibleLibravatar Dirkjan Ochtman2017-02-081-8/+8
|
* Stop taking references where unneededLibravatar Dirkjan Ochtman2017-02-081-10/+10
|
* Purge useless format!() callsLibravatar Dirkjan Ochtman2017-02-081-2/+2
|
* Deref in match header as suggested by clippyLibravatar Dirkjan Ochtman2017-02-081-17/+17
|
* Implement basic support for template inheritanceLibravatar Dirkjan Ochtman2017-02-051-2/+98
|
* Simplify writing of template struct implLibravatar Dirkjan Ochtman2017-02-051-9/+4
|
* Extract helper function from Generator classLibravatar Dirkjan Ochtman2017-02-051-15/+15
|
* Add parser support for block and extend blocksLibravatar Dirkjan Ochtman2017-02-051-0/+8
|
* Generate path-based type aliasesLibravatar Dirkjan Ochtman2017-02-051-1/+24
|
* Improve name and ownership of AST vectorLibravatar Dirkjan Ochtman2017-02-051-6/+6
|
* Clarify code around writing template implLibravatar Dirkjan Ochtman2017-02-051-8/+6
|
* Move some code around to group related partsLibravatar Dirkjan Ochtman2017-02-051-27/+27
|
* Add support for string literalsLibravatar Dirkjan Ochtman2017-02-051-0/+5
|
* Extend Template API to avoid need for multiple buffersLibravatar Dirkjan Ochtman2017-02-051-6/+4
|
* Generalize support for comparison operatorsLibravatar Dirkjan Ochtman2017-02-041-3/+4
|
* Add support for == operatorLibravatar Dirkjan Ochtman2017-02-041-0/+7
|
* Add support for lifetime annotations on template structsLibravatar Dirkjan Ochtman2017-02-041-3/+21
|
* Pass entire AST to code generatorLibravatar Dirkjan Ochtman2017-02-041-2/+3
|
* Add basic support for loopsLibravatar Dirkjan Ochtman2017-02-041-3/+49
|