parseLineList method

List<Node> parseLineList(
  1. List<Line> lines
)

Parses the given lines of Line to a series of AST nodes.

Implementation

List<Node> parseLineList(List<Line> lines) {
  final nodes = BlockParser(lines, this).parseLines();
  _parseInlineContent(nodes);
  // Do filter after parsing inline as we need ref count.
  return _filterFootnotes(nodes);
}