Package

ammonite

repl

Permalink

package repl

Visibility
  1. Public
  2. All

Type Members

  1. 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

  2. trait Cell[T] extends AnyRef

    Permalink
  3. 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

  4. class CompilationError extends Exception

    Permalink

    Exception for reporting script compilation failures

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

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

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

    Permalink
  8. trait IvyConstructor extends AnyRef

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

    Permalink
  10. class Repl extends AnyRef

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

    Permalink

    The result of a single pass through the ammonite REPL.

  12. trait StableRef[T] extends AnyRef

    Permalink

    Encapsulates a read-write cell that can be passed around

  13. 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 Parsers

    Permalink
  8. object Ref

    Permalink
  9. object Repl

    Permalink
  10. object Res

    Permalink
  11. object Storage

    Permalink
  12. object Timer

    Permalink
  13. object Util

    Permalink
  14. package frontend

    Permalink
  15. package interp

    Permalink

Ungrouped