CodeEmitter

interface CodeEmitter(source)

Emits Kotlin source code from a parsed icon model.

Each implementation targets a specific OutputFormat and produces a complete Kotlin file as a String.

See also

Inheritors

Functions

Link copied to clipboard
abstract fun emit(contents: IconFileContents): String

Generates Kotlin source code for the given icon file contents.