visitBlock method

  1. @override
StringSink visitBlock(
  1. Block block, [
  2. StringSink? output
])

Implementation

@override
StringSink visitBlock(Block block, [StringSink? output]) {
  final out = output ??= StringBuffer();
  _handleAttribute(_blockAttrsHandlers, block, output, () {
    for (final line in block.children) {
      line.accept(this, out);
    }
  });
  return out;
}