aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src (unfollow)
Commit message (Expand)AuthorFilesLines
2024-01-22Improve error when whitespace control is used on `extends`Libravatar Guillaume Gomez1-2/+16
2024-01-18Fix support for mixed case variablesLibravatar Dirkjan Ochtman1-4/+4
2024-01-18Yield error on deep AST recursionLibravatar Dirkjan Ochtman2-3/+15
2024-01-17Improve performance of `find_used_templates`Libravatar max1-1/+2
2024-01-11parser: add test for target recursion overflowLibravatar Dirkjan Ochtman1-0/+6
2024-01-11parser: limit target recursionLibravatar Dirkjan Ochtman1-14/+25
2023-12-07Allow trailing comma in macro definition and callLibravatar Guillaume Gomez2-2/+2
2023-12-07Undo an accidental deletion of `#[derive(Debug)]`Libravatar max1-0/+1
2023-12-07Added testing for reserved variable namesLibravatar max2-5/+20
2023-11-28Allow to pass named arguments to macro callsLibravatar Guillaume Gomez2-6/+75
2023-11-22Add better support for rust-like number literals (#908)Libravatar PizzasBear1-5/+65
2023-11-22Enhance match to include multiple targets (#911)Libravatar PizzasBear1-0/+13
2023-11-13Derive Clone for Expr and TargetLibravatar Andrew Dona-Couch2-2/+2
2023-10-25Create a type alias for all `IResult` to simplify code readingLibravatar Guillaume Gomez3-108/+90
2023-10-25Improve error for `elif` keywordLibravatar Guillaume Gomez1-1/+9
2023-10-25 Improve error for invalid name used in `endmacro`Libravatar Guillaume Gomez1-1/+7
2023-10-25Improve error for invalid name used in `endblock`Libravatar Guillaume Gomez2-2/+30
2023-10-25Create `ErrorContext` typeLibravatar Guillaume Gomez3-95/+183
2023-09-28Pass `Node` parsing level to expressionsLibravatar René Kijewski2-16/+16
2023-09-28Limit nesting in parser nodes, tooLibravatar René Kijewski2-4/+23
2023-09-28Require Expr::parse() callers to supply LevelLibravatar Dirkjan Ochtman2-16/+18
2023-09-28Move Level into the crate rootLibravatar Dirkjan Ochtman3-18/+17
2023-09-28Yield a parser error when defining a macro named 'super'Libravatar Dirkjan Ochtman2-4/+11
2023-09-28Limit expression nesting level to avoid stack overflowsLibravatar Dirkjan Ochtman2-34/+83
2023-09-11Use char_indices() to get byte indices for charactersLibravatar Dirkjan Ochtman2-1/+8
2023-09-11Rename some variablesLibravatar Dirkjan Ochtman1-7/+7
2023-08-03Optimize parsing boolean literals, tooLibravatar René Kijewski1-9/+5
2023-08-03Parse paths and identifiers only onceLibravatar René Kijewski3-37/+53
2023-08-02parser: fix white space issues in macro parsingLibravatar René Kijewski1-2/+2
2023-08-02parser: allow negative numbers in patternsLibravatar René Kijewski1-1/+5
2023-08-02parser: don't truncates whitespaces after arraysLibravatar René Kijewski1-1/+1
2023-08-02parser: better error message for unknown nodesLibravatar René Kijewski2-9/+8
2023-08-01parser: import `parser::{Expr, Node}`Libravatar René Kijewski2-5/+4
2023-08-01parser: `node::Loop` is much bigger than the other variantsLibravatar René Kijewski1-2/+2
2023-08-01parser: move test for completenessLibravatar René Kijewski1-6/+6
2023-08-01parser: add type for `Node::Comment`Libravatar René Kijewski2-146/+109
2023-08-01parser: add `expr::Loop::parse()`Libravatar René Kijewski1-68/+70
2023-08-01parser: remove re-exports `parser::{node,expr}::*`Libravatar René Kijewski3-13/+12
2023-08-01parser: add type for `Node::Extends`Libravatar René Kijewski2-9/+16
2023-08-01parser: add type for `Node::Include`Libravatar René Kijewski2-14/+28
2023-08-01parser: rename `Node::Cond` into `If` and add typeLibravatar René Kijewski2-35/+49
2023-08-01parser: add type for `Node::Let`Libravatar René Kijewski2-26/+34
2023-08-01parser: add type for `Node::Raw`Libravatar René Kijewski2-29/+38
2023-08-01parser: add type for `Node::Lit`Libravatar René Kijewski3-49/+54
2023-08-01parser: add type for `Node::BlockDef`Libravatar René Kijewski2-30/+45
2023-08-01parser: add type for `Node::Match`Libravatar René Kijewski2-36/+54
2023-08-01parser: add type for `Node::Call`Libravatar René Kijewski2-20/+40
2023-08-01parser: add type for `Node::Import`Libravatar René Kijewski2-17/+33
2023-08-01parser: let `Macro` know its nameLibravatar René Kijewski1-52/+53
2023-08-01parser: add `Ast::nodes()` methodLibravatar René Kijewski1-0/+4