diff options
author | René Kijewski <rene.kijewski@fu-berlin.de> | 2023-08-01 12:55:49 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2023-08-01 13:04:41 +0200 |
commit | 04e585b9d26ff5976854176bce0ba2f6cb42c76c (patch) | |
tree | 4a6dc5f30f3e9207aa5c341c1f03dd320b24e7cf /askama_derive/src/generator.rs | |
parent | c8399c75ed0b90f0976ffeaa220150b8c1c22421 (diff) | |
download | askama-04e585b9d26ff5976854176bce0ba2f6cb42c76c.tar.gz askama-04e585b9d26ff5976854176bce0ba2f6cb42c76c.tar.bz2 askama-04e585b9d26ff5976854176bce0ba2f6cb42c76c.zip |
parser: import `parser::{Expr, Node}`
Diffstat (limited to '')
-rw-r--r-- | askama_derive/src/generator.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index c736847..76b775b 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -3,11 +3,10 @@ use crate::heritage::{Context, Heritage}; use crate::input::{Print, Source, TemplateInput}; use crate::CompileError; -use parser::expr::Expr; use parser::node::{ - Call, Comment, CondTest, If, Include, Let, Lit, Loop, Match, Node, Target, Whitespace, Ws, + Call, Comment, CondTest, If, Include, Let, Lit, Loop, Match, Target, Whitespace, Ws, }; -use parser::Parsed; +use parser::{Expr, Node, Parsed}; use proc_macro::TokenStream; use quote::{quote, ToTokens}; use syn::punctuated::Punctuated; |