refactor library

Tools to help implement refactoring like transformations to Dart code.

TextEditTransaction supports making a series of changes to a text buffer. guessIndent helps to guess the appropriate indentiation for the new code.

Classes

TextEditTransaction
Editable text transaction.

Functions

guessIndent(String code, int charOffset) String
Returns all whitespace characters at the start of charOffset's line.