The main class of the library, responsible for handling Swift files, creating syntax trees, performing queries, and transforming code.

Constructors

Methods

  • Get the fault transformations from the given rules and apply them directly to the tree. If no rules are provided, all rules are considered.

    This method is safer than applyCodeTransformationsToTree, since it applies one rule at a time and rebuilds the tree after each transformation.

    This is reccomended for large batches of code transformations.

    Parameters

    Returns void