Trait/Object

ammonite.repl.frontend

ReplAPI

Related Docs: object ReplAPI | package frontend

Permalink

trait ReplAPI extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReplAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def clear: Unit

    Permalink

    Clears the screen of the REPL

  2. abstract def colors: Ref[ColorSet]

    Permalink
  3. abstract def compiler: Global

    Permalink
  4. abstract def frontEnd: Ref[FrontEnd]

    Permalink

    The front-end REPL used to take user input.

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

  5. abstract def help: String

    Permalink

    Display this help text

  6. abstract def history: History

    Permalink

    History of commands that have been entered into the shell

  7. abstract def imports: String

    Permalink

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

  8. abstract def load: Load

    Permalink

    Tools related to loading external scripts and code into the REPL

  9. abstract def newCompiler(): Unit

    Permalink

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

  10. implicit abstract val pprintConfig: Config

    Permalink

    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

  11. abstract def search(target: scala.reflect.api.JavaUniverse.Type): Option[String]

    Permalink
  12. abstract def shellPrompt: Ref[String]

    Permalink

    Read/writable prompt for the shell.

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

  13. abstract def show[T](value: T, lines: Int = 0): Show[T]

    Permalink

    Prettyprint the given value with no truncation.

    Prettyprint the given value with no truncation. Optionally takes a number of lines to print.

  14. abstract def typeOf[T](t: ⇒ T)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): scala.reflect.api.JavaUniverse.Type

    Permalink

    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

  15. abstract def typeOf[T](implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T]): scala.reflect.api.JavaUniverse.Type

    Permalink

    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

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def exit: Nothing

    Permalink

    Exit the Ammonite REPL.

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

  9. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped