dumpCompleteHierarchy static method

String dumpCompleteHierarchy()

Dump the complete hierarchy as a formatted string

Implementation

static String dumpCompleteHierarchy() {
  final buffer = StringBuffer();
  final rootScope = Zen.rootScope;

  buffer.writeln('=== ZEN SCOPE HIERARCHY ===');
  buffer.writeln();

  _dumpScopeRecursively(rootScope, buffer, 0);

  return buffer.toString();
}