genTreeTitle method

void genTreeTitle (Contexts env, Output output, String prefix, String type, String value)

Build the node tree title

Implementation

void genTreeTitle(
    Contexts env, Output output, String prefix, String type, String value) {
  final String tabStr = '  ' * env.tabLevel;
  output.add('$tabStr$prefix$type ($value)\n');
}