clearSource method

void clearSource()

Clears the underlying buffer and resets the indentation level.

Implementation

void clearSource() {
  _buffer.clear();
  _indentLevel = 0;
}