aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/node.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Pass `Node` parsing level to expressionsLibravatar René Kijewski2023-09-281-15/+15
|
* Limit nesting in parser nodes, tooLibravatar René Kijewski2023-09-281-4/+8
|
* Require Expr::parse() callers to supply LevelLibravatar Dirkjan Ochtman2023-09-281-6/+12
|
* Move Level into the crate rootLibravatar Dirkjan Ochtman2023-09-281-2/+1
|
* Yield a parser error when defining a macro named 'super'Libravatar Dirkjan Ochtman2023-09-281-4/+5
|
* Limit expression nesting level to avoid stack overflowsLibravatar Dirkjan Ochtman2023-09-281-1/+2
|
* Parse paths and identifiers only onceLibravatar René Kijewski2023-08-031-3/+12
| | | | | | | | | | | | | | In the old implementation each variable in an expression would be parsed up to three times: * Try to parse a path because it contains a leading double colon, or infix double colons. * Try to parse it as path again by scanning for an identifier that contains an upper case character. * Fall back to scanning for any identifier. This PR turns all three steps into one, without the need for backtracking.
* parser: fix white space issues in macro parsingLibravatar René Kijewski2023-08-021-2/+2
|
* parser: import `parser::{Expr, Node}`Libravatar René Kijewski2023-08-011-2/+2
|
* parser: `node::Loop` is much bigger than the other variantsLibravatar René Kijewski2023-08-011-2/+2
|
* parser: move test for completenessLibravatar René Kijewski2023-08-011-6/+6
|
* parser: add type for `Node::Comment`Libravatar René Kijewski2023-08-011-43/+57
|
* parser: add `expr::Loop::parse()`Libravatar René Kijewski2023-08-011-68/+70
|
* parser: remove re-exports `parser::{node,expr}::*`Libravatar René Kijewski2023-08-011-2/+2
|
* parser: add type for `Node::Extends`Libravatar René Kijewski2023-08-011-7/+14
|
* parser: add type for `Node::Include`Libravatar René Kijewski2023-08-011-12/+26
|
* parser: rename `Node::Cond` into `If` and add typeLibravatar René Kijewski2023-08-011-33/+47
|
* parser: add type for `Node::Let`Libravatar René Kijewski2023-08-011-25/+33
|
* parser: add type for `Node::Raw`Libravatar René Kijewski2023-08-011-28/+37
|
* parser: add type for `Node::Lit`Libravatar René Kijewski2023-08-011-30/+47
|
* parser: add type for `Node::BlockDef`Libravatar René Kijewski2023-08-011-29/+44
|
* parser: add type for `Node::Match`Libravatar René Kijewski2023-08-011-35/+53
|
* parser: add type for `Node::Call`Libravatar René Kijewski2023-08-011-19/+37
|
* parser: add type for `Node::Import`Libravatar René Kijewski2023-08-011-16/+32
|
* parser: let `Macro` know its nameLibravatar René Kijewski2023-08-011-52/+53
|
* parser: remove panicking `From<&str> for Whitespace`Libravatar René Kijewski2023-08-011-12/+5
|
* parser: rename block to nodesLibravatar Dirkjan Ochtman2023-07-311-12/+13
|
* parser: reorder items in node moduleLibravatar Dirkjan Ochtman2023-07-311-50/+50
|
* parser: flatten top-level Expr interfaceLibravatar Dirkjan Ochtman2023-07-311-1/+1
|
* parser: move cond parsers into type implsLibravatar Dirkjan Ochtman2023-07-311-39/+43
|
* parser: move parser helpers into callersLibravatar Dirkjan Ochtman2023-07-311-35/+35
|
* parser: move when parsers into impl blockLibravatar Dirkjan Ochtman2023-07-311-47/+50
|
* parser: define a struct for MatchLibravatar Dirkjan Ochtman2023-07-311-3/+22
|
* parser: define a struct for CondLibravatar Dirkjan Ochtman2023-07-311-3/+19
|
* parser: move node parsers into impl blockLibravatar Dirkjan Ochtman2023-07-311-388/+404
|
* parser: move Whitespace parser into methodLibravatar Dirkjan Ochtman2023-07-311-144/+142
|
* parser: move impl blocks closer to type definitionsLibravatar Dirkjan Ochtman2023-07-311-12/+12
|
* parser: move helper functions into State implLibravatar Dirkjan Ochtman2023-07-311-32/+31
|
* parser: move trait impl closer to type definitionLibravatar Dirkjan Ochtman2023-07-311-0/+11
|
* Extract askama_parser crateLibravatar Dirkjan Ochtman2023-07-311-0/+674