pIndent

fun <U : Any> pIndent(n: Int): Parser<Char, List<Char>, U>

Returns a Parser that consumes exactly n space characters (' ').

Fails if fewer than n spaces are present at the current position.

Return

a Parser that succeeds after consuming exactly n spaces.

Parameters

n

the exact number of spaces to consume; must be >= 0.

See also