p

ammonite

compiler

package compiler

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. class AmmonitePlugin extends Plugin

    Used to capture the names in scope after every execution, reporting them to the output function.

    Used to capture the names in scope after every execution, reporting them to the output function. Needs to be a compiler plugin so we can hook in immediately after the typer

  2. trait Compiler extends compiler.iface.Compiler

    Encapsulates (almost) all the ickiness of Scalac so it doesn't leak into the rest of the codebase.

    Encapsulates (almost) all the ickiness of Scalac so it doesn't leak into the rest of the codebase. Makes use of a good amount of mutable state for things like the log-output-forwarder or compiler-plugin-output because These things are hard-coded into Scalac and can't be passed in from run to run.

    Turns source-strings into the bytes of classfiles, possibly more than one classfile per source-string (e.g. inner classes, or lambdas). Also lets you query source strings using an in-built presentation compiler

  3. class CompilerLifecycleManager extends compiler.iface.CompilerLifecycleManager

    Wraps up the Compiler and Pressy, ensuring that they get properly initialized before use.

    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

  4. class DefaultPreprocessor extends Preprocessor
  5. abstract class ExtraCompilerCompatibility extends AnyRef
  6. trait Pressy extends AnyRef

    Nice wrapper for the presentation compiler.

Ungrouped