Crate swc_macros_common
source ·Expand description
Internal crate for the swc project.
Modules§
- Example
Macros§
- fail! is a panic! with location reporting.
Functions§
Span::def_site().located_at(Span::call_site())
- Returns
None
ifattr
is not a doc attribute. - Creates a doc comment.
attr
- tokens inside#[]
. e.g.derive(EqIgnoreSpan)
, ast_node