Ok

data class Ok<T>(val result: T, val remainingInput: String) : ParserResult<T>

Parsing succeeded, with the result stored in result and any remaining input stored in remainingInput.

Constructors

Link copied to clipboard
fun <T> Ok(result: T, remainingInput: String)

Properties

Link copied to clipboard
val remainingInput: String
Link copied to clipboard
val result: T