tartar
/
com.github.adriantodt.tartar.api.lexer
/
Lexer
/
parse
common
parse
abstract fun
parse
(source:
Source
, output: (
T
) ->
Unit
)
Content copied to clipboard
Parses a source and outputs tokens into a consumer.
Parameters
source
A source of characters.
output
The consumer of tokens.