ammonite.util

Util

Related Doc: package util

object Util

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ClassFiles = Vector[(String, Array[Byte])]

  2. case class CodeSource(wrapperName: Name, pkgName: Seq[Name], source: Option[Path]) extends Product with Serializable

    Information about where a particular block of code came from; source is optional because some code snippets are synthetic, which means any filename is entirely synthetic and $file imports do not work in them.

    Information about where a particular block of code came from; source is optional because some code snippets are synthetic, which means any filename is entirely synthetic and $file imports do not work in them. However, there are many snippets of code, e.g. repl commands and such, which have a "fake" source because we want to allow $file imports relative to some path or working-directory

  3. type CompileCache = (ClassFiles, Imports)

  4. case class ScriptOutput(processed: Metadata, classFiles: Seq[ClassFiles]) extends Product with Serializable

    The serialized output of running a script, including both metadata and the classfile binaries

  5. case class VersionedWrapperId(wrapperPath: String, versionHash: String) extends Product with Serializable

    Refers to a wrapper object compiled with a specific set of source code and enclosing environment (encapsulated in the hashVal).

    Refers to a wrapper object compiled with a specific set of source code and enclosing environment (encapsulated in the hashVal). This lets us unambiguously look up the correct version of a class, or invalidate and recompile it if the source code or environment changes

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. object ScriptOutput extends Serializable

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def encodeFilePath(path: Seq[Name]): Seq[String]

  8. def encodeJvmPath(path: Seq[Name]): String

  9. def encodeScalaSourcePath(path: Seq[Name]): String

  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  16. def md5Hash(data: Iterator[Array[Byte]]): Array[Byte]

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. val newLine: String

  19. def normalizeNewlines(s: String): String

  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. def pathToPackageWrapper(path: Path, wd: Path): (Seq[Name], Name)

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

    Definition Classes
    AnyRef → Any
  25. def transpose[A](xs: List[List[A]]): List[List[A]]

  26. val upPathSegment: String

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val windowsPlatform: Boolean

Inherited from AnyRef

Inherited from Any

Ungrouped