Lines Matching refs:Stmt
192 ExprField, ExprKind, GenericArg, GenericBound, ItemKind, Local, LocalKind, Pat, Stmt,
228 fn flat_map_stmt<T: MutVisitor>(stmt: Stmt, vis: &mut T) -> Vec<Stmt> {
242 vec![Stmt { kind, ..stmt }]
388 use syn::{token, BinOp, Expr, ExprParen, GenericArgument, MetaNameValue, Pat, Stmt, Type};
442 fn fold_stmt(&mut self, stmt: Stmt) -> Stmt {
445 Stmt::Expr(Expr::Verbatim(_), Some(_)) => stmt,
446 Stmt::Expr(e, semi) => Stmt::Expr(fold_expr(self, e), semi),
474 use syn::{token, Expr, ExprGroup, ExprParen, Stmt};
490 fn fold_stmt(&mut self, stmt: Stmt) -> Stmt {
491 if let Stmt::Expr(expr @ (Expr::Binary(_) | Expr::Cast(_)), None) = stmt {
492 Stmt::Expr(