WalkerParsingResult

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

Parameters

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

source

the whole input the walker was given

Type Parameters

T

the type of result, produced by the parser