parseToList

open fun parseToList(source: Source): List<T>

Parses a source and adds all tokens into a list.

Return

A list with the tokens.

Parameters

source

A source of characters.