* Applies one or more mixins to this construct. * * Mixins are applied in order. The list of constructs is captured at the * start of the call, so constructs added by a mixin will not be visited. * Use multiple `with()` calls if subsequent mixins should apply to added * constructs.
(...mixins: IMixin[])
| 559 | * @returns This construct for chaining |
| 560 | */ |
| 561 | public with(...mixins: IMixin[]): IConstruct { |
| 562 | return this.node.with(...mixins); |
| 563 | }; |
| 564 | |
| 565 | /** |
| 566 | * Returns a string representation of this construct. |