ammonite.repl.frontend

DefaultReplAPI

trait DefaultReplAPI extends FullReplAPI

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultReplAPI
  2. FullReplAPI
  3. ReplAPI
  4. OpsAPI
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait Internal extends AnyRef

    Definition Classes
    FullReplAPI

Abstract Value Members

  1. implicit abstract def Relativizer[T](p: T)(implicit b: Path, f: (T) ⇒ RelPath): Path

    Allows you to use relative paths (and anything convertible to a relative path) as absolute paths when working in the REPL.

    Allows you to use relative paths (and anything convertible to a relative path) as absolute paths when working in the REPL. Note that this isn't available when using Ammonite-Ops in a standalone project! In such cases, it's good practice to convert paths from relative to absolute explicitly.

    Definition Classes
    OpsAPI
  2. abstract val cd: Op1[Path, Path]

    Change the working directory wd; if the provided path is relative it gets appended on to the current wd, if it's absolute it replaces.

    Change the working directory wd; if the provided path is relative it gets appended on to the current wd, if it's absolute it replaces.

    Definition Classes
    OpsAPI
  3. abstract val colors: Ref[Colors]

    The colors that will be used to render the Ammonite REPL in the terminal

    The colors that will be used to render the Ammonite REPL in the terminal

    Definition Classes
    ReplAPI
  4. abstract def compiler: Global

    Access the compiler to do crazy things if you really want to!

    Access the compiler to do crazy things if you really want to!

    Definition Classes
    ReplAPI
  5. abstract val frontEnd: Ref[FrontEnd]

    The front-end REPL used to take user input.

    The front-end REPL used to take user input. Modifiable!

    Definition Classes
    ReplAPI
  6. abstract def fullHistory: History

    History of commands that have been entered into the shell, including previous sessions

    History of commands that have been entered into the shell, including previous sessions

    Definition Classes
    ReplAPI
  7. abstract def height: Int

    Current height of the terminal

    Current height of the terminal

    Definition Classes
    ReplAPI
  8. abstract def history: History

    History of commands that have been entered into the shell during the current session

    History of commands that have been entered into the shell during the current session

    Definition Classes
    ReplAPI
  9. abstract def imports: String

    Show all the imports that are used to execute commands going forward

    Show all the imports that are used to execute commands going forward

    Definition Classes
    ReplAPI
  10. abstract def load: Load

    Tools related to loading external scripts and code into the REPL

    Tools related to loading external scripts and code into the REPL

    Definition Classes
    ReplAPI
  11. abstract def newCompiler(): Unit

    Throw away the current scala.

    Throw away the current scala.tools.nsc.Global and get a new one

    Definition Classes
    ReplAPI
  12. implicit abstract val pprintConfig: Ref[Config]

    Controls how things are pretty-printed in the REPL.

    Controls how things are pretty-printed in the REPL. Feel free to shadow this with your own definition to change how things look

    Definition Classes
    ReplAPI
  13. abstract val prompt: Ref[String]

    Read/writable prompt for the shell.

    Read/writable prompt for the shell. Use this to change the REPL prompt at any time!

    Definition Classes
    ReplAPI
  14. abstract def show[T](t: T, width: Integer = 0, height: Integer = null, indent: Integer = null, colors: pprint.Colors = null)(implicit arg0: PPrint[T], cfg: Config = Config.Defaults.PPrintConfig): Unit

    Definition Classes
    ReplAPI
  15. abstract def show[T](implicit arg0: PPrint[T], cfg: Config): (T) ⇒ Unit

    Lets you configure the pretty-printing of a value.

    Lets you configure the pretty-printing of a value. By default, it simply disables truncation and prints the entire thing, but you can set other parameters as well if you want.

    Definition Classes
    ReplAPI
  16. implicit abstract def wd: Path

    The current working directory of the shell, that will get picked up by any Relativizer below, and can be modified using cd

    The current working directory of the shell, that will get picked up by any Relativizer below, and can be modified using cd

    Definition Classes
    OpsAPI
  17. abstract def width: Int

    Current width of the terminal

    Current width of the terminal

    Definition Classes
    ReplAPI

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. object Internal extends Internal

    Definition Classes
    DefaultReplAPIFullReplAPI
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. implicit def derefPPrint(implicit t: Ref[Config]): Config

    Definition Classes
    ReplAPI
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def exit: Nothing

    Exit the Ammonite REPL.

    Exit the Ammonite REPL. You can also use Ctrl-D to exit

    Definition Classes
    ReplAPI
  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. def help: String

    Display help text if you don't know how to use the REPL

    Display help text if you don't know how to use the REPL

    Definition Classes
    DefaultReplAPIReplAPI
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

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

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. def typeOf[T](t: ⇒ T)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): scala.reflect.api.JavaUniverse.Type

    Get the Type object representing the type of t.

    Get the Type object representing the type of t. Useful for finding what its methods are and what you can do with it

    Definition Classes
    FullReplAPIReplAPI
  24. def typeOf[T](implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): scala.reflect.api.JavaUniverse.Type

    Get the Type object of T.

    Get the Type object of T. Useful for finding what its methods are and what you can do with it

    Definition Classes
    FullReplAPIReplAPI
  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FullReplAPI

Inherited from ReplAPI

Inherited from OpsAPI

Inherited from AnyRef

Inherited from Any

Ungrouped