stringLiteral method

Parser<String> stringLiteral()

Implementation

Parser<String> stringLiteral() => seq3(
  char("'"),
  [string("''"), pattern("^'")].toChoiceParser().star(),
  char("'"),
).flatten(message: 'string expected').trim(ref0(spacer));