Packages

  • package root
    Definition Classes
    root
  • package ammonite
    Definition Classes
    root
  • package main

    Code related to invoking Ammonite from the outside world: default configuration, running scripts, printing error messages, etc.

    Code related to invoking Ammonite from the outside world: default configuration, running scripts, printing error messages, etc.

    Definition Classes
    ammonite
  • AmmoniteMain
  • Main
  • MainRunner

class MainRunner extends AnyRef

Bundles together:

- All the code relying on cliConfig - Handling for the common input/output streams and print-streams - Logic around the watch-and-rerun flag

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

Instance Constructors

  1. new MainRunner(cliConfig: Config, outprintStream: PrintStream, errPrintStream: PrintStream, stdIn: InputStream, stdOut: OutputStream, stdErr: OutputStream, wd: Path)

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(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. val colors: Colors
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. def handleWatchRes[T](res: Res[T], printing: Boolean): Boolean
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. def initMain(isRepl: Boolean): Main
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  17. def printError(s: String): Unit
  18. def printInfo(s: String): Unit
  19. def runCode(code: String): Boolean
  20. def runRepl(): Unit
  21. def runScript(scriptPath: Path, scriptArgs: List[String]): Boolean
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. def watchAndWait(watched: Seq[(Watchable, Long)]): Unit
  28. final def watchLoop[T](isRepl: Boolean, printing: Boolean, run: (Main) => (Res[T], Seq[(Watchable, Long)])): Boolean
    Annotations
    @tailrec()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped