pBlankLine

fun <U : Any> pBlankLine(): Parser<Char, Unit, U>

Returns a Parser that consumes zero or more space/tab characters followed by a line ending, succeeding with Unit.

A blank line may contain any number of spaces and tabs before the line ending; the whitespace and the ending are both consumed.

Return

a Parser that always succeeds with Unit on a blank line, or fails if no line ending follows the optional whitespace.

See also