mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-18 17:40:29 +00:00
Basic Support Macro 2.0
This commit is contained in:
parent
c8066ebd17
commit
a193666361
7 changed files with 209 additions and 63 deletions
|
@ -40,6 +40,7 @@ fn text_of_first_token(node: &SyntaxNode) -> TokenText {
|
|||
TokenText(first_token)
|
||||
}
|
||||
|
||||
#[derive(Debug, PartialEq, Eq, Clone)]
|
||||
pub enum Macro {
|
||||
MacroRules(ast::MacroRules),
|
||||
MacroDef(ast::MacroDef),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue