parse

open override fun parse(tokens: List<Token<T>>): R

Parses tokens with this pratt-parser and returns the computed result.

Return

The computed result.

Parameters

tokens

A list of tokens, probably created with Lexer.