compile method

void compile(
  1. StringBuffer buf,
  2. int indent
)

Compiles the statements of the table, indented by indent, which may be compiled again.

Implementation

void compile(StringBuffer buf, int indent) {
  for (var statement in _statements) {
    for (var line in statement().split('\n')) {
      buf.writeln('${'  ' * indent}$line');
    }
  }
}