Success

data class Success<T>(val output: T, val nextPos: Int) : ParsingResult<T>

Constructors

Link copied to clipboard
constructor(output: T, nextPos: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val output: T

Functions

Link copied to clipboard
fun <T, R> ParsingResult<T>.map(transform: (T) -> R): ParsingResult<R>