parse To End
fun <T> Parser<T>.parseToEnd(input: String, ignoreWhitespace: Boolean = false): ParserResult<T>
Content copied to clipboard
Applies the receiver parser to the given input. If ignoreWhitespace is true, any whitespace at the beginning or end of the input is ignored.
fun <S : ParserState, T> S.() -> T.parseToEnd( input: String, ignoreWhitespace: Boolean = false, state: S): ParserResult<T>
Content copied to clipboard
Like parseToEnd, but with a custom parser state.