parse

open override fun parse(source: Source, output: (T) -> Unit)

Parses a source and outputs tokens into a consumer.

Parameters

source

A source of characters.

output

The consumer of tokens.