ammonite

repl

package repl

Visibility
  1. Public
  2. All

Type Members

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

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

  2. trait Cell[T] extends AnyRef

  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

    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

    Exception for reporting script compilation failures

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

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

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

  8. trait IvyConstructor extends AnyRef

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

  10. class Repl extends AnyRef

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

    The result of a single pass through the ammonite REPL.

  12. trait StableRef[T] extends AnyRef

    Encapsulates a read-write cell that can be passed around

  13. trait Storage extends AnyRef

    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

  2. object Colors extends Serializable

  3. object Ex

    Nice pattern matching for chained exceptions

  4. object History

  5. object IvyConstructor extends IvyConstructor

  6. object IvyThing

    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

  8. object Ref

  9. object Repl

  10. object Res

  11. object Storage

  12. object Timer

  13. object Util

  14. package frontend

  15. package interp

Ungrouped