Home
last modified time | relevance | path

Searched defs:MacroCall (Results 1 – 17 of 17) sorted by relevance

/third_party/rust/rust/src/tools/clippy/clippy_utils/src/
Dmacros.rs51 pub struct MacroCall { struct
62 impl MacroCall { argument
121 pub fn root_macro_call(span: Span) -> Option<MacroCall> { in root_macro_call()
127 pub fn root_macro_call_first_node(cx: &LateContext<'_>, node: &impl HirNode) -> Option<MacroCall> { in root_macro_call_first_node()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-expand/src/
Deager.rs37 macro_call: InFile<ast::MacroCall>, in expand_eager_macro_input()
110 macro_call: InFile<ast::MacroCall>, in lazy_expand()
/third_party/rust/rust/src/tools/clippy/clippy_lints/src/
Dwrite.rs345 fn check_newline(cx: &LateContext<'_>, format_args: &FormatArgs, macro_call: &MacroCall, name: &str… in check_newline()
409 fn check_empty_string(cx: &LateContext<'_>, format_args: &FormatArgs, macro_call: &MacroCall, name:… in check_empty_string()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir/src/
Dsource_analyzer.rs149 expr: InFile<ast::MacroCall>, in expand_expr()
484 macro_call: InFile<&ast::MacroCall>, in resolve_macro_call()
757 macro_call: InFile<&ast::MacroCall>, in expand()
781 macro_call: InFile<&ast::MacroCall>, in is_unsafe_macro_call()
Dsemantics.rs179 actual_macro_call: &ast::MacroCall, in speculative_expand()
606 actual_macro_call: &ast::MacroCall, in speculative_expand()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Ditem_tree.rs725 pub struct MacroCall { struct
728 pub ast_id: FileAstId<ast::MacroCall>, argument
729 pub expand_to: ExpandTo,
921 MacroCall(FileItemTreeId<MacroCall>), enumerator
Dexpander.rs77 macro_call: ast::MacroCall, in enter_expand()
Dlib.rs1117 call: &AstIdWithPath<ast::MacroCall>, in macro_call_as_call_id()
1127 call: &AstIdWithPath<ast::MacroCall>, in macro_call_as_call_id_()
Ddata.rs666 let MacroCall { ast_id, expand_to, ref path } = item_tree[call]; in collect_item() localVariable
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/syntax_helpers/
Dnode_ext.rs468 pub fn macro_call_for_string_token(string: &ast::String) -> Option<MacroCall> { in macro_call_for_string_token()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/item_tree/
Dpretty.rs451 let MacroCall { path, ast_id: _, expand_to: _ } = &self.tree[it]; in print_mod_item() localVariable
Dlower.rs529 fn lower_macro_call(&mut self, m: &ast::MacroCall) -> Option<FileItemTreeId<MacroCall>> { in lower_macro_call()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide/src/
Dexpand_macro.rs106 macro_call: &ast::MacroCall, in expand_macro_recur()
Dextend_selection.rs124 macro_call: ast::MacroCall, in extend_tokens_from_range()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/body/
Dlower.rs898 mcall: ast::MacroCall, in collect_macro_call()
899 syntax_ptr: AstPtr<ast::MacroCall>, in collect_macro_call()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/
Dnodes.rs156 pub struct MacroCall { struct
159 impl ast::HasAttrs for MacroCall {} argument
160 impl ast::HasDocComments for MacroCall {} implementation
161 impl MacroCall { impl
946 pub fn macro_call(&self) -> Option<MacroCall> { support::child(&self.syntax) } in macro_call()
1269 pub fn macro_call(&self) -> Option<MacroCall> { support::child(&self.syntax) } in macro_call()
1389 pub fn macro_call(&self) -> Option<MacroCall> { support::child(&self.syntax) } in macro_call()
1586 MacroCall(MacroCall), enumerator
1650 MacroCall(MacroCall), enumerator
1659 MacroCall(MacroCall), enumerator
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Dcollector.rs2176 fn collect_macro_call(&mut self, mac: &MacroCall, container: ItemContainerId) { in collect_macro_call()