transform
external fun <T : Node> transform(source: T, transformers: ReadonlyArray<TransformerFactory<T>>, compilerOptions: CompilerOptions = definedExternally): TransformationResult<T>(source)
external fun <T : Node> transform(source: ReadonlyArray<T>, transformers: ReadonlyArray<TransformerFactory<T>>, compilerOptions: CompilerOptions = definedExternally): TransformationResult<T>(source)
Transform one or more nodes using the supplied transformers.
Parameters
source
A single Node
or an array of Node
objects.
transformers
An array of TransformerFactory
callbacks used to process the transformation.
compilerOptions
Optional compiler options.