Transformer

interface Transformer<T>(source)

Represents an arbitrary transformer that belongs to a Script.

Parameters

T

The type being transformed

Inheritors

Properties

Link copied to clipboard

Additional transformer properties

Link copied to clipboard

The owner script's identifier

Link copied to clipboard
abstract val targetClassName: String

The name of the class to select for transformation

Functions

Link copied to clipboard
abstract fun visit(node: T)

Transform an arbitrary object of this transformer's type.