Struct swc_common::Mark [−][src]
pub struct Mark(_);
Expand description
A mark is a unique id associated with a macro expansion.
Implementations
The mark of the theoretical expansion that generates freshly parsed, unexpanded AST.
Computes a mark such that both input marks are descendants of (or equal to) the returned mark. That is, the following holds:
ⓘ
let la = least_ancestor(a, b);
assert!(a.is_descendant_of(la))
assert!(b.is_descendant_of(la))
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mark
impl UnwindSafe for Mark
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more