Class CombinedTransformer

A transformer that runs all given transformers in sequentially order.

The combined transformer is a special transformer in that the transform function knows about it.

Hierarchy

  • CombinedTransformer

Implements

Constructors

Properties

name: "CombinedTransformer" = "CombinedTransformer"

An optional name useful for diagnostics.

transformers: readonly Transformer[]

The transformers that will be applied in order.

Note: These transformers are not necessarily the ones given to the constructor. If a transformer is a CombinedTransformer, then its transformers will be used instead (think of it as flattening combined transformers).

Methods