Abstract base class for synchronous transformations. These transformations perform CPU-bound operations without I/O. The sync method is wrapped in a resolved Promise for consistency with async operations.
execute(rules: readonly string[],context?: ITransformationContext,): Promise<readonly string[]>
Wraps the sync execution in a resolved Promise for interface compatibility.
abstract
executeSync(rules: readonly string[],context?: ITransformationContext,): readonly string[]
Synchronously executes the transformation on the given rules.