PrefixParselet

interface PrefixParselet<T, K : Token<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, K, E>, token: K): E

This prefix parser's parsing implementation.