Struct syntex_syntax::ast::MacroDef
[−]
[src]
pub struct MacroDef { pub ident: Ident, pub attrs: Vec<Attribute>, pub id: NodeId, pub span: Span, pub imported_from: Option<Ident>, pub export: bool, pub use_locally: bool, pub allow_internal_unstable: bool, pub body: Vec<TokenTree>, }
A macro definition, in this crate or imported from another.
Not parsed directly, but created on macro import or macro_rules!
expansion.
Fields
ident | |
attrs | |
id | |
span | |
imported_from | |
export | |
use_locally | |
allow_internal_unstable | |
body |