Parser

interface Parser(source)

A custom parser if you wanted full control on how to parse tokens.

Functions

Link copied to clipboard
abstract fun parse(code: String): List<Token>

Parses a multi-line code snippet into a sequence of Tokens.