ammonite

util

package util

Visibility
  1. Public
  2. All

Type Members

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

    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

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

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

  3. trait CodeColors extends AnyRef

  4. case class Colors(prompt: Ref[Attrs], ident: Ref[Attrs], type: Ref[Attrs], literal: Ref[Attrs], prefix: Ref[Attrs], comment: Ref[Attrs], keyword: Ref[Attrs], selected: Ref[Attrs], error: Ref[Attrs], warning: Ref[Attrs]) extends Product with Serializable

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

  5. class CompilationError extends Exception

    Exception for reporting script compilation failures

  6. case class Evaluated(wrapper: Seq[Name], imports: Imports, tag: String) extends Product with Serializable

  7. case class ImportData(fromName: Name, toName: Name, prefix: Seq[Name], importType: ImportType) extends Product with Serializable

    Represents the importing of a single name in the Ammonite REPL, of the form

  8. case class ImportTree(prefix: Seq[String], mappings: Option[ImportMapping], start: Int, end: Int) extends Product with Serializable

  9. class Imports extends AnyRef

    Represents the imports that occur before a piece of user code in the Ammonite REPL.

  10. case class Name(raw: String) extends Product with Serializable

    Represents a single identifier in Scala source code, e.

  11. case class Printer(out: (String) ⇒ Unit, warning: (String) ⇒ Unit, error: (String) ⇒ Unit, info: (String) ⇒ Unit) extends Product with Serializable

    Encapsulates the ways the Ammonite REPL prints things.

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

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

    The result of a single pass through the ammonite REPL.

  14. trait StableRef[T] extends AnyRef

    Encapsulates a read-write cell that can be passed around

Value Members

  1. object Bind extends Serializable

  2. object Colors extends Serializable

  3. object Ex

    Nice pattern matching for chained exceptions

  4. object ImportData extends Serializable

  5. object ImportTree extends Serializable

  6. object Imports

  7. object Name extends Serializable

  8. object Ref

  9. object Res

  10. object Util

Ungrouped