diff options
author | Aleksey Kladov <[email protected]> | 2019-02-23 14:21:56 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-02-23 14:21:56 +0000 |
commit | 8eac450f41c6d94215f5d8c02235cd5917abaa69 (patch) | |
tree | 93b6145789f64d2c2c7f2a607c23ed64ced92dc1 /crates/ra_mbe/src/lib.rs | |
parent | 83d6be6cecb19659e289eba63f12ac33dceb3b56 (diff) |
implement tt -> ast
Diffstat (limited to 'crates/ra_mbe/src/lib.rs')
-rw-r--r-- | crates/ra_mbe/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_mbe/src/lib.rs b/crates/ra_mbe/src/lib.rs index cdca3cafb..768f335fa 100644 --- a/crates/ra_mbe/src/lib.rs +++ b/crates/ra_mbe/src/lib.rs | |||
@@ -24,7 +24,7 @@ use ra_syntax::SmolStr; | |||
24 | 24 | ||
25 | pub use tt::{Delimiter, Punct}; | 25 | pub use tt::{Delimiter, Punct}; |
26 | 26 | ||
27 | pub use crate::syntax_bridge::ast_to_token_tree; | 27 | pub use crate::syntax_bridge::{ast_to_token_tree, token_tree_to_ast_item_list}; |
28 | 28 | ||
29 | /// This struct contains AST for a single `macro_rules` definition. What might | 29 | /// This struct contains AST for a single `macro_rules` definition. What might |
30 | /// be very confusing is that AST has almost exactly the same shape as | 30 | /// be very confusing is that AST has almost exactly the same shape as |