aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Reorganize code order in askama_derive modulesLibravatar Dirkjan Ochtman2017-08-081-82/+82
|
* Clean up use statements in code generatorLibravatar Dirkjan Ochtman2017-08-081-1/+4
|
* Implement Deref<Parent> for inheriting templates (fixes #28)Libravatar Dirkjan Ochtman2017-08-081-0/+31
|
* Refactor handling of paths and trait namesLibravatar Dirkjan Ochtman2017-08-081-18/+20
|
* Move path_as_identifier() closer to driverLibravatar Dirkjan Ochtman2017-08-081-12/+12
|
* Add some comments to clarify code generator methodsLibravatar Dirkjan Ochtman2017-08-081-0/+6
|
* Simplify write_header() method by taking trait name directlyLibravatar Dirkjan Ochtman2017-08-081-12/+6
|
* Share HashSet for locals among nested GeneratorsLibravatar Dirkjan Ochtman2017-08-061-10/+14
|
* Expand include node to template source during code generationLibravatar Dirkjan Ochtman2017-08-061-3/+5
|
* Allow parent templates to be specified as relative paths (fixes #26)Libravatar Dirkjan Ochtman2017-08-061-4/+12
|
* Add support for include blocks (see #25)Libravatar Dirkjan Ochtman2017-08-041-5/+25
|
* Reference askama and std from the global scope (fixes #17)Libravatar Dirkjan Ochtman2017-03-111-8/+8
| | | | | | With this change, importing `std` and `askama` into modules where templates are defined is no longer necessary. `askama::Template` must still be imported in scopes where methods of the `Template` trait are called.
* Remove type parameter defaults from impls (fixes #12)Libravatar Dirkjan Ochtman2017-03-081-1/+3
|
* Use if let to better handle Option typeLibravatar Dirkjan Ochtman2017-03-081-2/+2
|
* Copy type parameters and where clauses (fixes #11)Libravatar Dirkjan Ochtman2017-03-081-9/+39
|
* Inline annotations() helper into write_header()Libravatar Dirkjan Ochtman2017-03-071-14/+9
|
* Extract writing of impl headers in generatorLibravatar Dirkjan Ochtman2017-03-071-10/+14
|
* Use enumerate() for much simpler loop indexes (fixes #10)Libravatar Dirkjan Ochtman2017-03-061-23/+5
|
* Better support for Iterator variants in for loop (fixes #8)Libravatar Dirkjan Ochtman2017-03-061-2/+2
|
* Hide askama_derive dependency inside askama (fixes #2)Libravatar Dirkjan Ochtman2017-03-061-0/+452
|
* Move parser and generator code into askama crateLibravatar Dirkjan Ochtman2017-01-071-111/+0
|
* Add parser and code generator support for Filter expressionsLibravatar Dirkjan Ochtman2017-01-061-0/+7
|
* Separate writing to buffer and node visitation in generatorLibravatar Dirkjan Ochtman2017-01-061-12/+15
|