STRING top-level property

Parser<StringParser> STRING
final

A String is signified by single quotes (') on either end

Implementation

final Parser<StringParser> STRING =
    (char("'") & (ESC | char("'").neg()).star() & char("'")).map((value) {
  return StringParser(value[1].join(''));
});