feat: add prettyplease vendored and get basic test working
This commit is contained in:
1 parent
794f43ffee
commit
2a1970b3a9
29 files changed
+4630
-10
No files matched your search
@@ -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(_) => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user