use super::*;
pub(crate) enum ViewIfCond {
Expr(Box<Expr>),
Let(Box<Pat>, Box<Expr>),
}
pub(crate) enum ViewElseBranch {
ElseIf(Box<ViewIf>),
ElseBlock(Vec<ViewNode>),
}
pub(crate) enum ViewNode {
Element(Box<ViewElement>),
StaticText(LitStr),
Expr(Box<Expr>),
Spread(Span, Box<Expr>),
If(Box<ViewIf>),
For(Box<ViewFor>),
Match(Box<ViewMatch>),
}