ammonite.compiler

Members list

Type members

Classlikes

class AmmonitePhase(userCodeNestingLevel: => Int, needsUsedEarlierDefinitions: => Boolean) extends Phase

Attributes

Supertypes
class Phase
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object CodeClassWrapper extends CodeWrapper

Attributes

Supertypes
class CodeWrapper
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class DottyParser
Self type
Parser
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

Attributes

Companion
object
Supertypes
class Compiler
class Object
trait Matchable
class Any
Self type
object Compiler

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Compiler.type
case class CompilerBuilder(outputDir: Option[Path]) extends CompilerBuilder

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class CompilerBuilder
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
class CompilerLifecycleManager(rtCacheDir: Option[Path], headFrame: => Frame, dependencyCompleteOpt: => Option[String => (Int, Seq[String])], classPathWhitelist: Set[Seq[String]], initialClassLoader: ClassLoader, val outputDir: Option[Path], initialSettings: Seq[String]) 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

Attributes

Supertypes
class CompilerLifecycleManager
class Object
trait Matchable
class Any
object CompilerUtil

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object DefaultCodeWrapper extends CodeWrapper

Attributes

Supertypes
class CodeWrapper
class Object
trait Matchable
class Any
Self type
class DottyParser(source: SourceFile)(using x$2: Context) extends Parser, CompatibilityParser

Attributes

Supertypes
class Parser
class ParserCommon
class Object
trait Matchable
class Any
Show all
object Extensions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Extensions.type
class Parsers extends Parser

Attributes

Companion
object
Supertypes
class Parser
class Object
trait Matchable
class Any
Known subtypes
object Parsers
object Parsers extends Parsers

Attributes

Companion
class
Supertypes
class Parsers
class Parser
class Object
trait Matchable
class Any
Self type
Parsers.type
class Preprocessor(ctx: Context, markGeneratedSections: Boolean) extends Preprocessor

Attributes

Supertypes
class Preprocessor
class Object
trait Matchable
class Any
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

Attributes

Supertypes
class Object
trait Matchable
class Any