Packages

  • package root

    The Scala compiler and reflection APIs.

    The Scala compiler and reflection APIs.

    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package tools
    Definition Classes
    scala
  • package nsc
    Definition Classes
    tools
  • package interpreter

    The main REPL related classes and values are as follows.

    The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

    History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

    ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

    Definition Classes
    nsc
  • trait LoopCommands extends AnyRef
    Definition Classes
    interpreter
  • LineCmd
  • LoopCommand
  • NullaryCmd
  • Result
  • VarArgsCmd

class NullaryCmd extends (LoopCommands.this)#LoopCommand

Source
LoopCommands.scala
Linear Supertypes
(LoopCommands.this)#LoopCommand, (String) ⇒ (LoopCommands.this)#Result, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullaryCmd
  2. LoopCommand
  3. Function1
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NullaryCmd(name: String, help: String, detailedHelp: Option[String], f: (String) ⇒ (LoopCommands.this)#Result)

Value Members

  1. def andThen[A](g: ((LoopCommands.this)#Result) ⇒ A): (String) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(line: String): (LoopCommands.this)#Result
    Definition Classes
    NullaryCmdLoopCommand → Function1
  3. def completion: Completion
    Definition Classes
    LoopCommand
  4. def compose[A](g: (A) ⇒ String): (A) ⇒ (LoopCommands.this)#Result
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. val detailedHelp: Option[String]
    Definition Classes
    LoopCommand
  6. val help: String
    Definition Classes
    LoopCommand
  7. val name: String
    Definition Classes
    LoopCommand
  8. def showUsage(): (LoopCommands.this)#Result
    Definition Classes
    LoopCommand
  9. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  10. def usage: String
    Definition Classes
    LoopCommand
  11. def usageMsg: String
    Definition Classes
    LoopCommand