Lines Matching defs:Block
6 pub struct Block {
84 impl Block {
91 /// use syn::{braced, token, Attribute, Block, Ident, Result, Stmt, Token};
118 /// let stmts = content.call(Block::parse_within)?;
164 impl Parse for Block {
167 Ok(Block {
169 stmts: content.call(Block::parse_within)?,
292 Some((else_token, Box::new(Expr::Block(diverge))))
333 | Expr::Block(_)
403 impl ToTokens for Block {