mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Simplify eager macro representation
This commit is contained in:
parent
c7196620ab
commit
ea8555b155
10 changed files with 166 additions and 278 deletions
|
@ -8,13 +8,13 @@ use syntax::{
|
|||
use crate::{
|
||||
db::AstDatabase,
|
||||
name::{name, AsName},
|
||||
LazyMacroId, MacroCallKind, MacroCallLoc,
|
||||
MacroCallId, MacroCallKind, MacroCallLoc,
|
||||
};
|
||||
|
||||
pub(crate) fn process_macro_input(
|
||||
db: &dyn AstDatabase,
|
||||
node: SyntaxNode,
|
||||
id: LazyMacroId,
|
||||
id: MacroCallId,
|
||||
) -> SyntaxNode {
|
||||
let loc: MacroCallLoc = db.lookup_intern_macro(id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue