object Util

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ClassFiles = Vector[(String, Array[Byte])]
  2. case class CodeSource(wrapperName: Name, flexiblePkgName: Seq[Name], pkgRoot: Seq[Name], path: Option[Path]) extends Product with Serializable

    Information about where a particular block of code came from; path 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; path 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" path because we want to allow $file imports relative to some path or working-directory

  3. case class Location(fileName: String, lineNum: Int, fileContent: String) extends Product with Serializable
  4. case class VersionedWrapperId(wrapperPath: String, tag: Tag) 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def encodeFilePath(path: Seq[Name]): Seq[String]
  7. def encodeJvmPath(path: Seq[Name]): String
  8. def encodeScalaSourcePath(path: Seq[Name]): String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isInteractive(): Boolean

    Detects if the console is interactive; lets us make console-friendly output (e.g.

    Detects if the console is interactive; lets us make console-friendly output (e.g. ansi color codes) if it is, and script-friendly output (no ansi codes) if it's not

    https://stackoverflow.com/a/1403817/871202

  16. val java9OrAbove: Boolean
  17. def javaMajorVersion: Int
  18. val javaPrefixes: Set[String]
  19. def lookupWhiteList(whitelist: Set[Seq[String]], tokens: Seq[String]): Boolean
  20. def md5Hash(data: Iterator[Array[Byte]]): Array[Byte]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. val newLine: String
  23. def normalizeNewlines(s: String): String
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. def pathToPackageWrapper(flexiblePkgName0: Seq[Name], relPath0: RelPath): (Seq[Name], Name)
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def transpose[A](xs: List[List[A]]): List[List[A]]
  30. val upPathSegment: String
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  34. val windowsPlatform: Boolean
  35. def withContextClassloader[T](contextClassloader: ClassLoader)(t: ⇒ T): T

Inherited from AnyRef

Inherited from Any

Ungrouped