ammonite.compiler

Type members

Classlikes

class AmmonitePhase(userCodeNestingLevel: => Int, needsUsedEarlierDefinitions: => Boolean) extends Phase
object CodeClassWrapper extends CodeWrapper
class Compiler(dynamicClassPath: AbstractFile, initialClassPath: Seq[URL], classPath: Seq[URL], macroClassLoader: ClassLoader, whiteList: Set[Seq[String]], dependencyCompleteOpt: => Option[String => (Int, Seq[String])], contextInit: FreshContext => Unit, settings: Seq[String], reporter: Option[Message => Unit]) extends Compiler
Companion
object
object Compiler
Companion
class
object CompilerBuilder extends CompilerBuilder
class CompilerLifecycleManager(rtCacheDir: Option[Path], headFrame: => Frame, dependencyCompleteOpt: => Option[String => (Int, Seq[String])], classPathWhitelist: Set[Seq[String]], initialClassLoader: ClassLoader) extends CompilerLifecycleManager

Wraps up the Compiler and Pressy, ensuring that they get properly initialized before use. Mostly deals with ensuring the object lifecycles are properly dealt with; Compiler and Pressy are the ones which deal with the compiler's nasty APIs

Wraps up the Compiler and Pressy, ensuring that they get properly initialized before use. Mostly deals with ensuring the object lifecycles are properly dealt with; Compiler and Pressy are the ones which deal with the compiler's nasty APIs

Exposes a simple API where you can just call methods like compilerClass configureCompiler any-how and not worry about ensuring the necessary compiler objects are initialized, or worry about initializing them more than necessary

object CompilerUtil
object DefaultCodeWrapper extends CodeWrapper
class DottyParser(source: SourceFile)(using x$2: Context) extends Parser
object Extensions
class Parsers extends Parser
Companion
object
object Parsers extends Parsers
Companion
class
class Preprocessor(ctx: Context, markGeneratedSections: Boolean) extends Preprocessor
class SyntaxHighlighting(noAttrs: Attrs, commentAttrs: Attrs, keywordAttrs: Attrs, valDefAttrs: Attrs, literalAttrs: Attrs, typeAttrs: Attrs, annotationAttrs: Attrs, notImplementedAttrs: Attrs)

This object provides functions for syntax highlighting in the REPL

This object provides functions for syntax highlighting in the REPL