Function createTransformer
- createTransformer(callback): TransformerFactory<SourceFile>
Parameters
callback: ((node, context) => Node)
- (node, context): Node
Parameters
node: Node
context: TransformationContext
Returns Node
Returns TransformerFactory<SourceFile>
创建一个ast转换器