escapedCharNode method

Parser<TextNode> escapedCharNode()
inherited

Escaped character returning a TextNode.

Implementation

Parser<TextNode> escapedCharNode() => seq3(
  position(),
  ref0(escapedChar),
  position(),
).map3((start, c, stop) => TextNode(c, start: start, stop: stop));