Determines the transformation action for operators.

Hierarchy

  • OperatorTransform

Properties

Properties

kind: "function" | "rename" | "error"

The nature of the transformation.

'rename' replaces the name of the operator with the value property.

'function' replaces the operator with a function call with a name given by the value property.

'error' causes an exception to be raised if the operator is detected. The value property becomes the error message.

value: string

The transformed value. How it is used depends on the kind property.

'rename': value is treated as the new operator name. 'function': value is treated as the new function name. 'error': value is treated as the error message.

Generated using TypeDoc