Implementation of a tree-to-tree transformation. For each source node type, we can register a factory that knows how to create a transformed node. Then, this transformer can read metadata in the transformed node to recursively transform and assign children. If no factory is provided for a source node type, a GenericNode is created, and the processing of the subtree stops there.

Hierarchy (view full)

Constructors

Properties

allowGenericNode: boolean = true

Use GenericNode as a strategy for missing factories for nodes.

factories: Map<any, NodeFactory<any, any>> = ...

Factories that map from source tree node to target tree node.

issues: Issue[] = []

Additional issues found during the transformation process.

knownClasses: Map<string, Set<any>> = ...

Methods

Generated using TypeDoc