visitRoot method

  1. @override
StringSink visitRoot(
  1. Root root, [
  2. StringSink? output
])

Implementation

@override
StringSink visitRoot(Root root, [StringSink? output]) {
  final out = output ??= StringBuffer();
  for (final container in root.children) {
    container.accept(this, out);
  }
  return out;
}