parseLines method

List<Node> parseLines()

Implementation

List<Node> parseLines() {
  var blocks = <Node>[];
  while (!isDone) {
    for (var syntax in blockSyntaxes) {
      if (_canParse(syntax)) {
        var block = syntax.parse(this);
        if (block != null) blocks.add(block);
        break;
      }
    }
  }

  return blocks;
}