indentedCodeBlock method

Parser<IndentedCodeBlockNode> indentedCodeBlock()
inherited

Indented code block (4 spaces or tab).

Implementation

Parser<IndentedCodeBlockNode> indentedCodeBlock() =>
    seq3(position(), ref0(indentedCodeLine).plus(), position()).map3(
      (start, lines, stop) =>
          IndentedCodeBlockNode(lines.join(), start: start, stop: stop),
    );