Re-exports§
pub extern crate inventory;pub extern crate macroforge_ts_macros;pub extern crate macroforge_ts_quote;pub extern crate macroforge_ts_syn;pub extern crate napi;pub extern crate napi_derive;pub extern crate serde_json;
Re-exports§
pub use macroforge_ts_syn as ts_syn;pub use macroforge_ts_syn::swc_core;
Modules§
- abi
- host
- TypeScript Macro Host
- macros
- Macro attributes and quote templates
Use:
use macroforge_ts::macros::*; - swc_
common - swc_
ecma_ ast
Macros§
Structs§
- Decorator
Manifest Entry - Expand
Options - Expand
Result - Generated
Region Result - Import
Source Result - JsDiagnostic
- Macro
Diagnostic - Macro
Manifest - Macro
Manifest Entry - Mapping
Segment Result - Native
Mapper - Native
Plugin - Native
Position Mapper - Process
File Options - Source
Mapping Result - Span
Result - Syntax
Check Result - Transform
Result
Functions§
- check_
syntax - debug_
descriptors - debug_
get_ modules - debug_
lookup - derive_
decorator - expand_
sync - Expand macros in TypeScript code and return the transformed TS (types) and diagnostics
- get_
macro_ manifest - get_
macro_ names - is_
macro_ package - parse_
import_ sources - transform_
sync