aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-02Clean up according to clippy suggestionsLibravatar Dirkjan Ochtman2-2/+2
2018-07-02Add some comments to TemplateInput::new() methodLibravatar Dirkjan Ochtman1-0/+14
2018-07-02Further simplify code to find parent fieldsLibravatar Dirkjan Ochtman1-12/+5
2018-07-02Reorder arms in match for better readabilityLibravatar Dirkjan Ochtman1-2/+2
2018-07-02Further improve matching source and ext in TemplateInputLibravatar Dirkjan Ochtman1-7/+5
2018-07-02Fix unused import warningLibravatar mash1-1/+1
2018-07-02Only pass path to contextLibravatar mash1-5/+5
2018-07-02Improve field type determinationLibravatar mash1-5/+12
2018-07-02Simplify escape mode determinationLibravatar mash1-20/+13
2018-07-02Determine path during source attribute checksLibravatar mash1-11/+6
2018-06-25Improve attribute handling code for efficiency and robustnessLibravatar Dirkjan Ochtman1-47/+57
2018-06-25Add support for 'loop.first' variableLibravatar Dirkjan Ochtman1-0/+3
2018-06-23Add support for range operators (see #95)Libravatar Dirkjan Ochtman2-1/+39
2018-06-23Add support for Index operation (see #95)Libravatar Dirkjan Ochtman2-1/+25
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-22Disallow user-defined macros named 'super'Libravatar Dirkjan Ochtman1-9/+14
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 Ochtman2-5/+7
2018-06-21Flatten inherited blocks for code generationLibravatar Dirkjan Ochtman2-140/+127
2018-06-21Store parent field type in TemplateInputLibravatar Dirkjan Ochtman2-17/+19
2018-06-21Store extends path in ContextLibravatar Dirkjan Ochtman2-15/+14
2018-06-21Clean up clippy suggestionsLibravatar Dirkjan Ochtman2-41/+41
2018-06-21Use Contexts to keep per-template stateLibravatar Dirkjan Ochtman2-111/+153
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 Ochtman3-91/+157
2018-06-21Inline TemplateMeta into TemplateInputLibravatar Dirkjan Ochtman3-27/+24
2018-06-21Let build_template() own the template sourceLibravatar Dirkjan Ochtman2-18/+17
2018-06-21Rename variable for consistencyLibravatar Dirkjan Ochtman1-5/+5
2018-06-16Use struct name for inline templatesLibravatar 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 Ochtman2-45/+17
2018-06-15Set up State contents in generate() to prevent borrowing issuesLibravatar Dirkjan Ochtman1-64/+57
2018-06-15Port parser to nom 4Libravatar Dirkjan Ochtman1-67/+79
2018-06-14Leverage binding modes to make pattern matching more robust (fixes #94)Libravatar Dirkjan Ochtman1-11/+5
2018-05-27Simplify code according to clippy suggestionsLibravatar Dirkjan Ochtman1-6/+3
2018-05-27Allow methods to be called on selfLibravatar Dirkjan Ochtman1-1/+6
2018-05-25Simplify generated code by propagating final expressionsLibravatar Dirkjan Ochtman1-5/+4
2018-05-25Extract path rooting to simplify trait_name_for_path()Libravatar Dirkjan Ochtman1-8/+8
2018-05-25Simplify types in generator State creationLibravatar Dirkjan Ochtman1-10/+10
2018-05-24Rename lifetime to 'askama to prevent conflicts (fixes #88)Libravatar Dirkjan Ochtman1-3/+3