aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs (unfollow)
Commit message (Expand)AuthorFilesLines
2018-09-02Fix multiple nesting in macro calls into different scopesLibravatar bott1-3/+5
2018-09-02Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-6/+11
2018-09-02Fix nested macro calls into different scopesLibravatar bott1-11/+18
2018-07-27Inline block content functionsLibravatar Dirkjan Ochtman1-77/+57
2018-07-25Prepare Heritage before Generator instantiationLibravatar Dirkjan Ochtman1-50/+21
2018-07-25Add comment about subtleties of code generation for includesLibravatar Dirkjan Ochtman1-0/+2
2018-07-25Use write!() macro instead of write_fmt() methodLibravatar Dirkjan Ochtman1-2/+2
2018-07-25Disconnect Buffer instance from Generator instanceLibravatar Dirkjan Ochtman1-195/+201
2018-07-25Use nested scopes for function call argumentsLibravatar Dirkjan Ochtman1-18/+11
2018-07-25Tweak generated code style for let blocksLibravatar Dirkjan Ochtman1-1/+1
2018-07-25Tweak writeln() handling of stateLibravatar Dirkjan Ochtman1-5/+4
2018-07-25Use Buffer type for expression buffersLibravatar Dirkjan Ochtman1-109/+109
2018-07-24Take reference to indexed dataLibravatar Dirkjan Ochtman1-0/+1
2018-07-24Improve formatting for macro argumentsLibravatar Dirkjan Ochtman1-1/+1
2018-07-24Move buffer maintenance utilities into a separate typeLibravatar Dirkjan Ochtman1-95/+120
2018-07-22Add Template method to return template extensionLibravatar Dirkjan Ochtman1-0/+5
2018-07-22Add optional implementation for actix_web's Responder traitLibravatar Ryan McGrath1-0/+23
2018-07-22Rename Rocket impl method to clarify dependencyLibravatar Ryan McGrath1-2/+2
2018-07-11Move get_template_source() into askama_deriveLibravatar Dirkjan Ochtman1-3/+3
2018-07-11Move find_template_from_path() into ConfigLibravatar Dirkjan Ochtman1-1/+3
2018-07-10Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+4
2018-07-02Clean up according to clippy suggestionsLibravatar Dirkjan Ochtman1-1/+1
2018-06-25Add support for 'loop.first' variableLibravatar Dirkjan Ochtman1-0/+3
2018-06-23Add support for range operators (see #95)Libravatar Dirkjan Ochtman1-0/+18
2018-06-23Add support for Index operation (see #95)Libravatar Dirkjan Ochtman1-0/+9
2018-06-22Reorder some codeLibravatar Dirkjan Ochtman1-20/+20
2018-06-22Add some comments to describe code generator stateLibravatar Dirkjan Ochtman1-0/+15
2018-06-22Implement support for the 'super' macroLibravatar Dirkjan Ochtman1-26/+59
2018-06-22Keep track of ancestor blocks in HeritageLibravatar Dirkjan Ochtman1-7/+8
2018-06-22Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-4/+1
2018-06-22Allow flattened types for inheriting templatesLibravatar Dirkjan Ochtman1-3/+1
2018-06-22Simplify trait names for blocks traitsLibravatar Dirkjan Ochtman1-15/+2
2018-06-22Reinstate use of Deref for inherited variable accessLibravatar Dirkjan Ochtman1-19/+22
2018-06-22Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-1/+1
2018-06-21Flatten inherited blocks for code generationLibravatar Dirkjan Ochtman1-119/+117
2018-06-21Store parent field type in TemplateInputLibravatar Dirkjan Ochtman1-17/+4
2018-06-21Store extends path in ContextLibravatar Dirkjan Ochtman1-3/+3
2018-06-21Clean up clippy suggestionsLibravatar Dirkjan Ochtman1-40/+40
2018-06-21Use Contexts to keep per-template stateLibravatar Dirkjan Ochtman1-106/+26
2018-06-21Store TemplateInput in GeneratorLibravatar Dirkjan Ochtman1-45/+35
2018-06-21Get rid of Generator::default() methodLibravatar Dirkjan Ochtman1-5/+1
2018-06-21Rename State/state to Context/ctx in code generatorLibravatar Dirkjan Ochtman1-70/+70
2018-06-21Fix formatting with cargo fmtLibravatar Dirkjan Ochtman1-81/+143
2018-06-21Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman1-1/+1
2018-06-16Restrict use of macro/import/extend nodes to the top levelLibravatar Dirkjan Ochtman1-4/+4
2018-06-16Move code around to enforce structureLibravatar Dirkjan Ochtman1-18/+18
2018-06-15Explicitly keep track of sources and ASTsLibravatar Dirkjan Ochtman1-6/+9
2018-06-15Handle imports as part of code generationLibravatar Dirkjan Ochtman1-4/+16
2018-06-15Set up State contents in generate() to prevent borrowing issuesLibravatar Dirkjan Ochtman1-64/+57
2018-06-14Leverage binding modes to make pattern matching more robust (fixes #94)Libravatar Dirkjan Ochtman1-11/+5