treeToDebugString function

String treeToDebugString(
  1. StyleSheet styleSheet, [
  2. bool useSpan = false
])

Helper function to dump the CSS AST.

Implementation

String treeToDebugString(StyleSheet styleSheet, [bool useSpan = false]) {
  var to = TreeOutput();
  _TreePrinter(to, useSpan).visitTree(styleSheet);
  return to.toString();
}