PrefixParser

interface PrefixParser<T, E>

A interface for prefix-based parsing.

Author

An Tran

Parameters

T

The grammar's token type.

E

The grammar's expression result.

Functions

parse
Link copied to clipboard
common
abstract fun parse(ctx: ParserContext<T, E>, token: Token<T>): E
This prefix parser's parsing implementation.

Inheritors

PrefixParserImpl
Link copied to clipboard