mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
move test
This commit is contained in:
parent
40feacdeb9
commit
2d1f0b105d
8 changed files with 129 additions and 120 deletions
|
@ -1,3 +1,8 @@
|
|||
/// `mbe` (short for Macro By Example) crate contains code for handling
|
||||
/// `macro_rules` macros. It uses `TokenTree` (from `ra_tt` package) as the
|
||||
/// interface, although it contains some code to bridge `SyntaxNode`s and
|
||||
/// `TokenTree`s as well!
|
||||
|
||||
macro_rules! impl_froms {
|
||||
($e:ident: $($v:ident), *) => {
|
||||
$(
|
||||
|
@ -13,14 +18,16 @@ macro_rules! impl_froms {
|
|||
mod tt_cursor;
|
||||
mod mbe_parser;
|
||||
mod mbe_expander;
|
||||
mod syntax_bridge;
|
||||
|
||||
use smol_str::SmolStr;
|
||||
use ra_syntax::SmolStr;
|
||||
|
||||
pub use tt::{Delimiter, Punct};
|
||||
|
||||
pub use crate::{
|
||||
mbe_parser::parse,
|
||||
mbe_expander::exapnd,
|
||||
syntax_bridge::macro_call_to_tt,
|
||||
};
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue