Home
last modified time | relevance | path

Searched defs:MacroDef (Results 1 – 20 of 20) sorted by relevance

/third_party/rust/rust/compiler/rustc_hir/src/
Dtarget.rs58 MacroDef, enumerator
Dhir.rs3138 pub fn expect_macro(&self) -> (&ast::MacroDef, MacroKind) { in expect_macro()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/item_tree/
Dpretty.rs459 let MacroDef { name, visibility, ast_id: _ } = &self.tree[it]; in print_mod_item() localVariable
Dlower.rs545 fn lower_macro_def(&mut self, m: &ast::MacroDef) -> Option<FileItemTreeId<MacroDef>> { in lower_macro_def()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Ditem_tree.rs741 pub struct MacroDef { struct
744 pub ast_id: FileAstId<ast::MacroDef>, argument
/third_party/rust/rust/compiler/rustc_ast/src/
Dmut_visit.rs221 fn visit_macro_def(&mut self, def: &mut MacroDef) { in visit_macro_def()
639 pub fn noop_visit_macro_def<T: MutVisitor>(macro_def: &mut MacroDef, vis: &mut T) { in noop_visit_macro_def()
640 let MacroDef { body, macro_rules: _ } = macro_def; in noop_visit_macro_def() localVariable
Dast.rs1748 pub struct MacroDef { struct
1749 pub body: P<DelimArgs>,
1751 pub macro_rules: bool,
3017 MacroDef(MacroDef), enumerator
Dvisit.rs203 fn visit_mac_def(&mut self, _mac: &'ast MacroDef, _id: NodeId) { in visit_mac_def()
/third_party/rust/rust/src/librustdoc/clean/
Dutils.rs607 def: &ast::MacroDef, in display_macro_source()
/third_party/rust/rust/compiler/rustc_lint/src/
Dearly.rs291 fn visit_mac_def(&mut self, mac: &'a ast::MacroDef, id: ast::NodeId) { in visit_mac_def()
Dbuiltin.rs1959 fn check_mac_def(&mut self, cx: &EarlyContext<'_>, mac_def: &ast::MacroDef) { in check_mac_def()
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-completion/src/
Dcontext.rs267 MacroDef, enumerator
/third_party/rust/rust/compiler/rustc_metadata/src/
Dcreader.rs80 MacroDef(ast::Item, Edition), enumerator
/third_party/rust/rust/src/tools/rustfmt/src/
Dmacros.rs386 def: &ast::MacroDef, in rewrite_macro_def()
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/
Dnodes.rs337 pub struct MacroDef { struct
340 impl ast::HasAttrs for MacroDef {} argument
341 impl ast::HasName for MacroDef {} implementation
342 impl ast::HasVisibility for MacroDef {} implementation
343 impl ast::HasDocComments for MacroDef {} implementation
344 impl MacroDef { impl
1588 MacroDef(MacroDef), enumerator
2024 impl AstNode for MacroDef { implementation
4408 impl std::fmt::Display for MacroDef { implementation
/third_party/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/
Dnode_ext.rs69 MacroDef(ast::MacroDef), enumerator
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/nameres/
Dcollector.rs2103 fn collect_macro_def(&mut self, id: FileItemTreeId<MacroDef>, module: ModuleId) { in collect_macro_def()
/third_party/rust/rust/compiler/rustc_ast_pretty/src/pprust/
Dstate.rs628 macro_def: &ast::MacroDef, in print_mac_def()
/third_party/rust/rust/compiler/rustc_metadata/src/rmeta/
Ddecoder.rs1262 fn get_macro(self, id: DefIndex, sess: &Session) -> ast::MacroDef { in get_macro()
/third_party/rust/rust/compiler/rustc_privacy/src/
Dlib.rs508 md: &MacroDef, in update_reachability_from_macro()