dumpScopeTree method

void dumpScopeTree()

Dump the String representation of the scopeTree to the console output.

This is not meant to be used in production, but instead on the Debug Console evaluator.

Implementation

void dumpScopeTree() =>
    // ignore: avoid_print
    print(treeToString<ScopeTreeNode>(scopeTree(), (n) => n.description));