arrow-ank / arrow.ank / AnkOps

AnkOps

interface AnkOps

Functions

ankFiles abstract suspend fun Path.ankFiles(): Sequence<AnkProcessingContext>
compileCode abstract suspend fun compileCode(snippets: Tuple2<Path, Sequence<Snippet>>, compilerArgs: List<String>): Sequence<Snippet>
createTargetDirectory abstract suspend fun createTargetDirectory(source: Path, target: Path): Path
extractCode abstract fun extractCode(content: Sequence<String>): Tuple2<Sequence<String>, Sequence<Snippet>>
generateFile abstract suspend fun generateFile(path: Path, newContent: Sequence<String>): Path
printConsole abstract suspend fun printConsole(msg: String): Unit
processMacros abstract suspend fun Path.processMacros(): Sequence<String>
replaceAnkToLang abstract fun replaceAnkToLang(content: Sequence<String>, compiledSnippets: Sequence<Snippet>): Sequence<String>