mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
implement tt -> ast
This commit is contained in:
parent
83d6be6cec
commit
8eac450f41
2 changed files with 55 additions and 5 deletions
|
@ -24,7 +24,7 @@ use ra_syntax::SmolStr;
|
|||
|
||||
pub use tt::{Delimiter, Punct};
|
||||
|
||||
pub use crate::syntax_bridge::ast_to_token_tree;
|
||||
pub use crate::syntax_bridge::{ast_to_token_tree, token_tree_to_ast_item_list};
|
||||
|
||||
/// This struct contains AST for a single `macro_rules` definition. What might
|
||||
/// be very confusing is that AST has almost exactly the same shape as
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue