FeatherCompiler

class FeatherCompiler(val configuration: CompilerConfiguration)

Constructors

Link copied to clipboard
constructor()
constructor(configuration: CompilerConfiguration)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun compile(vararg files: File): Map<String, ByteArray>
fun compile(vararg scripts: Script): Map<String, ByteArray>
Link copied to clipboard

Compiles multiple source files, this will typically be called by first scanning a directory for all ".feather" files (possibly recursively), and then feeding all the found files here. You can also compile a single feather file, but it will NOT be able to import other feather classes, unless they have previously been compiled, and added to the classloader.

Link copied to clipboard
Link copied to clipboard