tomlWhitespaceCommentNewline top-level property
Parser
tomlWhitespaceCommentNewline
final
Parser for arbitrarily many tomlWhitespaceChars, tomlNewlines and tomlComments.
ws-comment-newline = *( wschar / [ comment ] newline )
Implementation
final Parser tomlWhitespaceCommentNewline = ChoiceParser([
tomlWhitespaceChar,
tomlComment.optional() & tomlNewline,
]).star().orFailure('whitespace, comments and newlines expected');