feat: add prettyplease vendored and get basic test working

This commit is contained in:
Jonathan Kelley committed 2022-04-24 02:55:20 -04:00
1 parent 794f43ffee
commit 2a1970b3a9
29 files changed
+4630 -10

No files matched your search

+2
View File
@@ -20,6 +20,7 @@ pub enum BodyNode {
Component(Component),
Text(LitStr),
RawExpr(Expr),
Meta(String),
}
impl Parse for BodyNode {
@@ -79,6 +80,7 @@ impl ToTokens for BodyNode {
BodyNode::RawExpr(exp) => tokens.append_all(quote! {
__cx.fragment_from_iter(#exp)
}),
BodyNode::Meta(_) => {}
}
}
}