KeyValue<O1, O2> constructor
KeyValue<O1, O2> (
- StringParser<
O1> key, - StringParser<
O2> value, - int sep,
- AnyStringParser ws,
Implementation
KeyValue(this.key, this.value, this.sep, this.ws) {
checkUtf16CodePoint(sep);
final printableSep = printableChar(sep);
label =
'keyValue(${Parser.quote(key)} $printableSep ${Parser.quote(value)} ${Parser.quote(ws)})';
error = ParseError.expected(printableSep);
}