WalkerParsingResult

constructor(value: T, endIndex: Int, tokens: TokenMatchesSequence, remainder: CharSequence)

Parameters

T

the type of result, produced by the parser

value

the result value, produced by the parser

endIndex

the index, relative to the input string, at which the parsing operation ended

tokens

the sequence of tokens that were matched during the tokenization by the walker

remainder

the remaining content of the input string after the parsing operation