contentParser property
Parser for a single character of a multiline literal TOML string.
mll-content = mll-char / newline
mll-char = %x09 / %x20-26 / %x28-7E / non-ascii
Literal strings can contain tabs (i.e., %x09
) but no apostrophe
s
(i.e., %x27
).
Implementation
static final Parser<String> contentParser = ChoiceParser([
char('\x09'),
range('\x20', '\x26'),
range('\x28', '\x7E'),
tomlNonAscii,
tomlNewline,
]).flatten('Multiline literal string character expected');