plainTextRun method

Parser<TextNode> plainTextRun()
inherited

Plain non-special text run.

Implementation

Parser<TextNode> plainTextRun() => seq3(
  position(),
  noneOf('*_~`[]!<\\\r\n').plusString(),
  position(),
).map3((start, t, stop) => TextNode(t, start: start, stop: stop));