partDirective method

Parser<PartDirectiveNode> partDirective()
inherited

Implementation

Parser<PartDirectiveNode> partDirective() => seq3(
  ref0(partToken),
  ref0(simpleStringLiteral),
  ref1(token, ';'),
).map3((_, uri, _) => PartDirectiveNode(uri.value));