Package

ammonite

repl

Permalink

package repl

Visibility
  1. Public
  2. All

Type Members

  1. case class ArgParseException(name: String, value: String, typeName: String, cause: Throwable) extends Exception with Product with Serializable

    Permalink
  2. case class Bind[T](name: String, value: T)(implicit typeTag: scala.reflect.api.JavaUniverse.TypeTag[T]) extends Product with Serializable

    Permalink

    Models a binding of a value to a typed name, and is passed into the REPL so it can re-create the bindings inside the REPL's scope

  3. case class Catching(handler: PartialFunction[Throwable, Failing]) extends Product with Serializable

    Permalink

    Fake for-comprehension generator to catch errors and turn them into Res.Failures

  4. trait Cell[T] extends AnyRef

    Permalink
  5. case class Colors(prompt: Ref[String], ident: Ref[String], type: Ref[String], literal: Ref[String], prefix: Ref[String], comment: Ref[String], keyword: Ref[String], selected: Ref[String], error: Ref[String], reset: Ref[String]) extends Product with Serializable

    Permalink

    A set of colors used to highlight the miscellanious bits of the REPL.

    A set of colors used to highlight the miscellanious bits of the REPL. Re-used all over the place in PPrint, TPrint, syntax highlighting, command-echoes, etc. in order to keep things consistent

    prompt

    The command prompt

    ident

    Definition of top-level identifiers

    literal

    Strings, integers and other literal expressions

    prefix

    The Seq/Foo when printing a Seq(...) or case class Foo(...)

    selected

    The color of text selected in the line-editor

    error

    The color used to print error messages of all kinds

    reset

    Whatever is necessary to get rid of residual coloring

  6. class CompilationError extends Exception

    Permalink

    Exception for reporting script compilation failures

  7. case class Evaluated(wrapper: String, imports: Seq[ImportData]) extends Product with Serializable

    Permalink
  8. class History extends IndexedSeq[String] with IndexedSeqLike[String, History]

    Permalink
  9. case class ImportData(fromName: String, toName: String, wrapperName: String, prefix: String) extends Product with Serializable

    Permalink
  10. trait IvyConstructor extends AnyRef

    Permalink
  11. trait Ref[T] extends StableRef[T]

    Permalink
  12. class Repl extends AnyRef

    Permalink
  13. sealed abstract class Res[+T] extends AnyRef

    Permalink

    The result of a single pass through the ammonite REPL.

  14. trait StableRef[T] extends AnyRef

    Permalink

    Encapsulates a read-write cell that can be passed around

  15. trait Storage extends AnyRef

    Permalink

    Trait for the interface of common persistent storage.

    Trait for the interface of common persistent storage. This handles history and persistent caches. Right now it is not threadsafe nor does it handle the mutual exclusion of files between processes. Mutexes should be added to be able to run multiple Ammonite processes on the same system.

Value Members

  1. object Cell

    Permalink
  2. object Colors extends Serializable

    Permalink
  3. object Ex

    Permalink

    Nice pattern matching for chained exceptions

  4. object History

    Permalink
  5. object IvyConstructor extends IvyConstructor

    Permalink
  6. object IvyThing

    Permalink

    Resolve artifacts from Ivy.

    Resolve artifacts from Ivy. Originally taken from

    http://makandracards.com/evgeny-goldin/5817-calling-ivy-from-groovy-or-java

    And transliterated into Scala. I have no idea how or why it works.

  7. object Main

    Permalink

    The various entry-points to the Ammonite repl

  8. object Parsers

    Permalink
  9. object Ref

    Permalink
  10. object Repl

    Permalink
  11. object Res

    Permalink
  12. object ScriptInit

    Permalink

    Code used to de-serialize command-line arguments when calling an Ammonite script.

    Code used to de-serialize command-line arguments when calling an Ammonite script. Basically looks for a scopt.Read for the type of each argument and uses that to de-serialize the given String into that argument.

    Needs a bit of macro magic to work.

  13. object Storage

    Permalink
  14. object Timer

    Permalink
  15. object Util

    Permalink
  16. package frontend

    Permalink
  17. package interp

    Permalink

Ungrouped