CompilerInterpAPIExtensions

ammonite.compiler.CompilerExtensions$.CompilerInterpAPIExtensions
final implicit class CompilerInterpAPIExtensions(api: InterpAPI) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def configureCompiler(c: Compiler => Unit): Unit

Configures the current compiler, or if the compiler hasn't been initialized yet, registers the configuration callback and applies it to the compiler when it ends up being initialized later

Configures the current compiler, or if the compiler hasn't been initialized yet, registers the configuration callback and applies it to the compiler when it ends up being initialized later

Attributes

def outputDir: Option[Path]

Directory where the byte code resulting from compiling the user code is written. This is non-empty only if the --output-directory or --tmp-output-directory options are passed to Ammonite upon launch.

Directory where the byte code resulting from compiling the user code is written. This is non-empty only if the --output-directory or --tmp-output-directory options are passed to Ammonite upon launch.

Attributes

def preConfigureCompiler(c: FreshContext => Unit): Unit

Pre-configures the next compiler context. Useful for tuning options that are used during parsing.

Pre-configures the next compiler context. Useful for tuning options that are used during parsing.

Attributes