ammonite.repl

interp

package interp

What actually lets us compile and execute code in the Ammonite REPL; deals with the Scala compiler, preprocessing the strings, JVM classloaders, etc.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. interp
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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.

  2. trait Compiler extends AnyRef

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

  3. trait Evaluator extends AnyRef

    Takes source code and, with the help of a compiler and preprocessor, evaluates it and returns a Result[(output: String, imports: String)] where output is what gets printed and imports are any imports that need to get prepended to subsequent commands.

  4. class Frame extends AnyRef

    Represents a single "frame" of the sess.save/sess.load stack/tree.

  5. class Interpreter extends AnyRef

    A convenient bundle of all the functionality necessary to interpret Scala code.

  6. trait Preprocessor extends AnyRef

    Converts REPL-style snippets into full-fledged Scala source files, ready to feed into the compiler.

  7. trait Pressy extends AnyRef

    Nice wrapper for the presentation compiler.

  8. class SpecialClassLoader extends URLClassLoader

    Classloader used to implement the jar-downloading command-evaluating logic in Ammonite.

Value Members

  1. object AmmonitePlugin

  2. object Classpath

    Loads the jars that make up the classpath of the scala-js-fiddle compiler and re-shapes it into the correct structure to satisfy scala-compile and scalajs-tools

  3. object Compiler

  4. object CompilerCompatibility

  5. object Evaluator

  6. object Frame

  7. object LineNumberModifier

  8. object Preprocessor

  9. object Pressy

  10. object SpecialClassLoader

Inherited from AnyRef

Inherited from Any

Ungrouped