ammonite.compiler

Members list

Concise view

Type members

Classlikes

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

Attributes

Graph
Supertypes
class Phase
class Object
trait Matchable
class Any

Attributes

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

Attributes

Graph
Supertypes
class CodeWrapper
class Object
trait Matchable
class Any
Self type

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
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
Graph
Supertypes
class Compiler
class Object
trait Matchable
class Any
Self type
object Compiler

Attributes

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

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class CompilerBuilder
class Object
trait Matchable
class Any

Attributes

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

Attributes

Graph
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

Graph
Supertypes
class CompilerLifecycleManager
class Object
trait Matchable
class Any

Attributes

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

Attributes

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

Attributes

Graph
Supertypes
class Parser
class ParserCommon
class Object
trait Matchable
class Any
object Extensions

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
class Parsers extends Parser

Attributes

Companion:
object
Graph
Supertypes
class Parser
class Object
trait Matchable
class Any
Known subtypes
object Parsers.type
object Parsers extends Parsers

Attributes

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

Attributes

Graph
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

Graph
Supertypes
class Object
trait Matchable
class Any