aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2017-10-01Fix whitespace handling for macros and imports (#55)Libravatar larros1-4/+16
2017-09-26Insert macro parameter into locals after defining it (fixes #53)Libravatar Dirkjan Ochtman1-1/+1
2017-09-26Add support for importing template files with macros (#51)Libravatar larros1-3/+7
2017-09-07Rename and document top-level Generator::build() methodLibravatar Dirkjan Ochtman1-2/+3
2017-09-07Reorder methods in Generator to aid readabilityLibravatar Dirkjan Ochtman1-450/+450
2017-09-07Return MarkupDisplay from json filterLibravatar Dirkjan Ochtman1-1/+1
2017-09-06Code cleanups as suggested by ClippyLibravatar Dirkjan Ochtman1-23/+23
2017-09-06Decrease coupling with Rocket in generated codeLibravatar Dirkjan Ochtman1-10/+2
2017-09-06Add panics during code generation for unsupported casesLibravatar Dirkjan Ochtman1-9/+21
2017-09-05Allow includes to use relative pathsLibravatar Dirkjan Ochtman1-1/+1
2017-09-05Introduce attribute parameter to disable escapingLibravatar Dirkjan Ochtman1-5/+9
2017-09-05Move knowledge of what to generate into GeneratorLibravatar Dirkjan Ochtman1-30/+25
2017-09-05Extract generator::State type to clarify structureLibravatar Dirkjan Ochtman1-97/+119
2017-09-05Pass AST to code generator as referenceLibravatar Dirkjan Ochtman1-1/+1
2017-09-05Stop mutating parsed AST for code generationLibravatar Dirkjan Ochtman1-25/+20
2017-09-05Refactor code generation for block definitionsLibravatar Dirkjan Ochtman1-21/+24
2017-09-05Refactor handling of macrosLibravatar Dirkjan Ochtman1-11/+11
2017-09-05Raise 500 error instead of unwrapping in Rocket Responder implLibravatar Dirkjan Ochtman1-3/+7
2017-09-04Escape all strings with character entities by default (fixes #23)Libravatar Dirkjan Ochtman1-14/+38
2017-09-04Move filter list closer to the actual filters, add docsLibravatar Dirkjan Ochtman1-13/+2
2017-09-04Tighten up code for join filter handlingLibravatar Dirkjan Ochtman1-8/+1
2017-09-02Add `join` filter & tests for itLibravatar defyrlt1-0/+25
2017-09-02Refactor `visit_filter` to allow easier customizationLibravatar defyrlt1-11/+21
2017-08-27Move most of the code into new askama_shared crateLibravatar Dirkjan Ochtman1-0/+0
2017-08-25Use block implementations in parent as defaults in traitLibravatar Dirkjan Ochtman1-11/+3
2017-08-24Add support for user-defined filtersLibravatar Dirkjan Ochtman1-1/+15
2017-08-23Add optional support for RocketLibravatar Dirkjan Ochtman1-0/+24
2017-08-23Allow passing extra annotation parameters to impl headersLibravatar Dirkjan Ochtman1-13/+28
2017-08-23Optionally implement Iron's Modifier<Response> for templatesLibravatar Dirkjan Ochtman1-0/+12
2017-08-22Add support for calling macrosLibravatar Dirkjan Ochtman1-0/+20
2017-08-22Implement support for macro definition handlingLibravatar Dirkjan Ochtman1-7/+16
2017-08-22Rename method call internals for clarityLibravatar Dirkjan Ochtman1-3/+3
2017-08-21Change filters to return ResultLibravatar Dirkjan Ochtman1-0/+3
2017-08-16Pass path to code generation as PathLibravatar Dirkjan Ochtman1-9/+5
2017-08-16Change find_template_from_path() to take Path as start_at argumentLibravatar Dirkjan Ochtman1-2/+2
2017-08-16Allow separation of variable declaration and defintionLibravatar Dirkjan Ochtman1-1/+16
2017-08-14Add support for simple variable definition statementsLibravatar Dirkjan Ochtman1-0/+15
2017-08-14Introduce and clean up scopes where necessaryLibravatar Dirkjan Ochtman1-0/+6
2017-08-14Assert invariant for SetChain implementationLibravatar Dirkjan Ochtman1-0/+1
2017-08-14Use error-chain to create a crate-specific Error typeLibravatar Dirkjan Ochtman1-2/+2
2017-08-14Define type askama::Result to use for all rendering methodsLibravatar Dirkjan Ochtman1-7/+7
2017-08-13Generate with full path to ResultLibravatar Anthony Nowell1-7/+7
2017-08-10Inline scope tracking abstraction againLibravatar Dirkjan Ochtman1-24/+6
2017-08-10Keep better track of nested scope through scope chainsLibravatar Dirkjan Ochtman1-17/+50
2017-08-10Replace unwrap() with expect() call for parent type findingLibravatar Dirkjan Ochtman1-1/+3
2017-08-10Prevent allocations for loop target namesLibravatar Dirkjan Ochtman1-3/+3
2017-08-10Implement Display for all TemplatesLibravatar Dirkjan Ochtman1-0/+10
2017-08-10Propagate format errors and rename `render_to()` to `render_into()`Libravatar Dirkjan Ochtman1-15/+24
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