| /third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/validation/ |
| D | block.rs | 9 pub(crate) fn validate_block_expr(block: ast::BlockExpr, errors: &mut Vec<SyntaxError>) { in validate_block_expr()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/ |
| D | move_guard.rs | 195 fn parse_if_chain(if_expr: IfExpr) -> Option<(Vec<(Expr, BlockExpr)>, Option<BlockExpr>)> { in parse_if_chain() argument
|
| D | replace_if_let_with_match.rs | 152 else_block: Option<ast::BlockExpr>, in make_else_arm() 153 conditionals: &[(Either<ast::Pat, ast::Expr>, ast::BlockExpr)], in make_else_arm() 256 fn make_block_expr(expr: ast::Expr) -> ast::BlockExpr { in replace_match_with_if_let()
|
| D | convert_bool_then.rs | 276 block: &ast::BlockExpr, in block_is_none_variant()
|
| D | extract_function.rs | 1728 ) -> ast::BlockExpr { in make_body() 1852 fn map_tail_expr(block: ast::BlockExpr, f: impl FnOnce(ast::Expr) -> ast::Expr) -> ast::BlockExpr { in map_tail_expr() 1860 fn with_default_tail_expr(block: ast::BlockExpr, tail_expr: ast::Expr) -> ast::BlockExpr { in with_default_tail_expr() 1867 fn with_tail_expr(block: ast::BlockExpr, tail_expr: ast::Expr) -> ast::BlockExpr { in with_tail_expr()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/ |
| D | make.rs | 438 ) -> ast::BlockExpr { in block_expr() 450 pub fn tail_only_block_expr(tail_expr: ast::Expr) -> ast::BlockExpr { in tail_only_block_expr() 461 ) -> ast::BlockExpr { in hacky_block_expr() 540 then_branch: ast::BlockExpr, in expr_if() 797 diverging: ast::BlockExpr, in let_else_stmt() 941 body: ast::BlockExpr, in fn_()
|
| D | expr_ext.rs | 62 pub fn then_branch(&self) -> Option<ast::BlockExpr> { in then_branch() 349 impl ast::BlockExpr { implementation
|
| D | traits.rs | 25 fn loop_body(&self) -> Option<ast::BlockExpr> { in loop_body()
|
| D | node_ext.rs | 56 impl ast::BlockExpr { implementation 898 fn loop_body(&self) -> Option<ast::BlockExpr> { in loop_body() 920 fn loop_body(&self) -> Option<ast::BlockExpr> { in loop_body()
|
| D | edit_in_place.rs | 509 pub fn get_or_create_body(&self) -> ast::BlockExpr { in get_or_create_body()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/typing/ |
| D | on_enter.rs | 123 fn on_enter_in_block(block: ast::BlockExpr, position: FilePosition) -> Option<TextEdit> { in on_enter_in_block()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/ |
| D | nameres.rs | 225 BlockExpr { enumerator 642 BlockExpr(ast::BlockExpr), enumerator
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/body/ |
| D | lower.rs | 1073 block: ast::BlockExpr, in collect_block_() 1140 expr: Option<ast::BlockExpr>, in collect_labelled_block_opt()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/ |
| D | nodes.rs | 298 pub fn body(&self) -> Option<BlockExpr> { support::child(&self.syntax) } in body() 558 pub struct BlockExpr { struct 561 impl ast::HasAttrs for BlockExpr {} implementation 562 impl BlockExpr { implementation 777 pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) } in block_expr() 1490 pub fn block_expr(&self) -> Option<BlockExpr> { support::child(&self.syntax) } in block_expr() 1546 BlockExpr(BlockExpr), enumerator 2211 impl AstNode for BlockExpr { implementation 4493 impl std::fmt::Display for BlockExpr { implementation
|