aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Restrict use of macro/import/extend nodes to the top levelLibravatar Dirkjan Ochtman2018-06-161-4/+4
|
* Move code around to enforce structureLibravatar Dirkjan Ochtman2018-06-161-18/+18
|
* Explicitly keep track of sources and ASTsLibravatar Dirkjan Ochtman2018-06-151-6/+9
|
* Handle imports as part of code generationLibravatar Dirkjan Ochtman2018-06-151-4/+16
|
* Set up State contents in generate() to prevent borrowing issuesLibravatar Dirkjan Ochtman2018-06-151-64/+57
|
* Leverage binding modes to make pattern matching more robust (fixes #94)Libravatar Dirkjan Ochtman2018-06-141-11/+5
|
* Simplify code according to clippy suggestionsLibravatar Dirkjan Ochtman2018-05-271-6/+3
|
* Allow methods to be called on selfLibravatar Dirkjan Ochtman2018-05-271-1/+6
|
* Simplify generated code by propagating final expressionsLibravatar Dirkjan Ochtman2018-05-251-5/+4
|
* Extract path rooting to simplify trait_name_for_path()Libravatar Dirkjan Ochtman2018-05-251-8/+8
|
* Simplify types in generator State creationLibravatar Dirkjan Ochtman2018-05-251-10/+10
|
* Rename lifetime to 'askama to prevent conflicts (fixes #88)Libravatar Dirkjan Ochtman2018-05-241-3/+3
|
* Fix lifetime arguments to Rocket impls (fixes #89)Libravatar Dirkjan Ochtman2018-05-241-1/+1
| | | | Broken during the upgrade to syn-0.14/quote-0.6.
* Warn about blocks that are nested inside something other than blocksLibravatar Dirkjan Ochtman2018-05-211-1/+6
|
* Upgrade to syn-0.14 and quote-0.6Libravatar Dirkjan Ochtman2018-05-211-17/+20
|
* Add support for nested blocks (fixes #85)Libravatar Dirkjan Ochtman2018-05-201-4/+32
|
* Fix suggestions from clippyLibravatar Dirkjan Ochtman2018-05-161-5/+4
|
* Add support for unary operators (fixes #83)Libravatar Dirkjan Ochtman2018-04-271-0/+7
|
* Fix issues with expression code interleaving with statements (see #78)Libravatar Dirkjan Ochtman2018-04-191-20/+16
|
* Properly handle whitespace around comments (fixes #79)Libravatar Dirkjan Ochtman2018-04-171-1/+7
|
* Name function call expressions before passing as an argument (fixes #78)Libravatar Dirkjan Ochtman2018-04-171-13/+26
|
* Use a temporary buffer to build expressionsLibravatar Dirkjan Ochtman2018-04-171-88/+104
|
* Isolate proc-macro dependency to the proc macroLibravatar David Tolnay2018-04-121-0/+918
| | | | | | | | | The dependency of askama on askama_shared on syn on libproc_macro used to mean libproc_macro would be dynamically linked into any crate using askama. We want only askama_derive to have a runtime dependency on proc macro. This commit moves all proc macro code from askama_shared into askama_derive so that the askama crate no longer dynamically links libproc_macro.
* Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman2017-08-271-715/+0
| | | | This makes it possible to share code between askama and askama_derive.
* Use block implementations in parent as defaults in traitLibravatar Dirkjan Ochtman2017-08-251-11/+3
|
* Add support for user-defined filtersLibravatar Dirkjan Ochtman2017-08-241-1/+15
|
* Add optional support for RocketLibravatar Dirkjan Ochtman2017-08-231-0/+24
|
* Allow passing extra annotation parameters to impl headersLibravatar Dirkjan Ochtman2017-08-231-13/+28
|
* Optionally implement Iron's Modifier<Response> for templatesLibravatar Dirkjan Ochtman2017-08-231-0/+12
|
* Add support for calling macrosLibravatar Dirkjan Ochtman2017-08-221-0/+20
|
* Implement support for macro definition handlingLibravatar Dirkjan Ochtman2017-08-221-7/+16
|
* Rename method call internals for clarityLibravatar Dirkjan Ochtman2017-08-221-3/+3
|
* Change filters to return ResultLibravatar Dirkjan Ochtman2017-08-211-0/+3
|
* Pass path to code generation as PathLibravatar Dirkjan Ochtman2017-08-161-9/+5
|
* Change find_template_from_path() to take Path as start_at argumentLibravatar Dirkjan Ochtman2017-08-161-2/+2
|
* Allow separation of variable declaration and defintionLibravatar Dirkjan Ochtman2017-08-161-1/+16
|
* Add support for simple variable definition statementsLibravatar Dirkjan Ochtman2017-08-141-0/+15
|
* Introduce and clean up scopes where necessaryLibravatar Dirkjan Ochtman2017-08-141-0/+6
|
* Assert invariant for SetChain implementationLibravatar Dirkjan Ochtman2017-08-141-0/+1
|
* Use error-chain to create a crate-specific Error typeLibravatar Dirkjan Ochtman2017-08-141-2/+2
|
* Define type askama::Result to use for all rendering methodsLibravatar Dirkjan Ochtman2017-08-141-7/+7
|
* Generate with full path to ResultLibravatar Anthony Nowell2017-08-131-7/+7
|
* Inline scope tracking abstraction againLibravatar Dirkjan Ochtman2017-08-101-24/+6
|
* Keep better track of nested scope through scope chainsLibravatar Dirkjan Ochtman2017-08-101-17/+50
|
* Replace unwrap() with expect() call for parent type findingLibravatar Dirkjan Ochtman2017-08-101-1/+3
|
* Prevent allocations for loop target namesLibravatar Dirkjan Ochtman2017-08-101-3/+3
|
* Implement Display for all TemplatesLibravatar Dirkjan Ochtman2017-08-101-0/+10
|
* Propagate format errors and rename `render_to()` to `render_into()`Libravatar Dirkjan Ochtman2017-08-101-15/+24
|
* Add helper methods to abstract away dealing with scopesLibravatar Dirkjan Ochtman2017-08-081-3/+17
|
* Add some comments to clarify structure of the code generatorLibravatar Dirkjan Ochtman2017-08-081-0/+8
|