Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
//! `proc_macro::bridge` newtypes.

use rustc_proc_macro::bridge as pm_bridge;

pub use pm_bridge::{DelimSpan, Diagnostic, ExpnGlobals, LitKind};

pub type TokenTree<S> =
    pm_bridge::TokenTree<crate::token_stream::TokenStream<S>, S, intern::Symbol>;
pub type Literal<S> = pm_bridge::Literal<S, intern::Symbol>;
pub type Group<S> = pm_bridge::Group<crate::token_stream::TokenStream<S>, S>;
pub type Punct<S> = pm_bridge::Punct<S>;
pub type Ident<S> = pm_bridge::Ident<S, intern::Symbol>;