Home
last modified time | relevance | path

Searched refs:stmts (Results 1 – 11 of 11) sorted by relevance

/linux/rust/syn/
H A Dstmt.rs16 pub stmts: Vec<Stmt>,
154 let mut stmts = Vec::new(); in parse_within() localVariable
157 stmts.push(Stmt::Expr(Expr::Verbatim(TokenStream::new()), semi)); in parse_within()
170 stmts.push(stmt); in parse_within()
177 Ok(stmts) in parse_within()
187 stmts: content.call(Block::parse_within)?, in parse()
430 tokens.append_all(&self.stmts); in to_tokens()
H A Dexpr.rs2309 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2318 body: Block { brace_token, stmts }, in parse()
2334 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2340 body: Block { brace_token, stmts }, in parse()
2651 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2658 body: Block { brace_token, stmts }, in parse()
2672 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2677 block: Block { brace_token, stmts }, in parse()
2843 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2848 block: Block { brace_token, stmts }, in parse()
[all …]
H A Ditem.rs1575 let stmts = content.call(Block::parse_within)?; in parse_rest_of_fn() localVariable
1581 block: Box::new(Block { brace_token, stmts }), in parse_rest_of_fn()
2460 let (brace_token, stmts, semi_token) = if lookahead.peek(token::Brace) { in parse()
2464 let stmts = content.call(Block::parse_within)?; in parse() localVariable
2465 (Some(brace_token), stmts, None) in parse()
2476 default: brace_token.map(|brace_token| Block { brace_token, stmts }), in parse()
2823 stmts: content.call(Block::parse_within)?, in parse_impl_item_fn()
3020 tokens.append_all(&self.block.stmts); in to_tokens()
3273 tokens.append_all(&block.stmts); in to_tokens()
3337 tokens.append_all(&self.block.stmts); in to_tokens()
/linux/scripts/
H A Dcheckpatch.pl6143 my $stmts = $2;
6150 if (($stmts =~ tr/;/;/) == 1 &&
6151 $stmts !~ /^\s*(if|while|for|switch)\b/) {
/linux/rust/syn/gen/
H A Dclone.rs128 stmts: self.stmts.clone(), in clone()
H A Deq.rs152 self.stmts == other.stmts in eq()
H A Dfold.rs1190 stmts: fold_vec(node.stmts, f, F::fold_stmt), in fold_block()
H A Dhash.rs222 self.stmts.hash(state); in hash()
H A Ddebug.rs279 formatter.field("stmts", &self.stmts); in fmt()
H A Dvisit_mut.rs1177 for it in &mut node.stmts { in visit_block_mut()
H A Dvisit.rs1175 for it in &node.stmts { in visit_block()