trait InterpAPI extends AnyRef
- Alphabetic
- By Inheritance
- InterpAPI
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val beforeExitHooks: Buffer[(Any) => Any]
Functions that will be chained and called on the exitValue before the repl exits
- abstract val colors: Ref[Colors]
The colors that will be used to render the Ammonite REPL in the terminal, or for rendering miscellaneous info messages when running scripts.
- abstract def configureCompiler(c: (Global) => Unit): Unit
Configures the current compiler, or if the compiler hasn't been initialized yet, registers the configuration callback and applies it to the compiler when it ends up being initialized later
- abstract def load: InterpLoad
Tools related to loading external scripts and code into the REPL
- abstract def preConfigureCompiler(c: (Settings) => Unit): Unit
Pre-configures the next compiler.
Pre-configures the next compiler. Useful for tuning options that are used during parsing such as -Yrangepos
- abstract def repositories: Ref[List[Repository]]
resolvers to use when loading jars
- abstract val resolutionHooks: Buffer[(Fetch) => Fetch]
Functions that will be chained and called on the coursier Fetch object right before they are run
- abstract def watch(p: Path): Unit
When running a script in
--watchmode, re-run the main script if this file changes.When running a script in
--watchmode, re-run the main script if this file changes. By default, this happens for all script files, but you can call this to watch arbitrary files your script may depend on
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exit(value: Any): Nothing
Exit the Ammonite REPL.
Exit the Ammonite REPL. You can also use Ctrl-D to exit
- def exit: Nothing
Exit the Ammonite REPL.
Exit the Ammonite REPL. You can also use Ctrl-D to exit
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()