Scala Compiler2.12.4 < Back
 

# 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
-  package session

  Files having to do with the state of a repl session: lines of text entered, types and terms defined, etc.

  Files having to do with the state of a repl session: lines of text entered, types and terms defined, etc.

  Definition Classes
    interpreter
- AbstractFileClassLoader
- AbstractOrMissingHandler
- CommandLine
- Completion
- Delimited
- EchoReader
- ExprTyper
- ILoop
- IMain
- IMainOps
- ISettings
- Imports
- InteractiveReader
- Javap
- JavapClass
- Logger
- LoopCommands
- MemberHandlers
- NamedParam
- NamedParamClass
- NamedParamCreator
- Naming
- NoCompletion
- NoJavap
- Parsed
- Pasted
- Phased
- Power
- PresentationCompilation
- PresentationCompilerCompleter
- ProcessResult
- ReplConfig
- ReplDir
- ReplGlobal
- ReplOutput
- ReplProps
- ReplReporter
- ReplStrings
- ReplVals
- Results
- RichClass
- Scripted
- SimpleReader
- SplashLoop
- SplashReader
- StdReplTags
- StdReplVals
- Tabulator
- TapMaker
- VariColumnTabulator
- WriterOutputStream

c

scala.tools.nsc.interpreter

# ILoop 

###
Companion object ILoop

#### class ILoop extends LoopCommands

The Scala interactive shell. It provides a read-eval-print loop around the Interpreter class. After instantiation, clients should call the main() method.

If no in0 is specified, then input will come from the console, and the class will attempt to provide input editing feature such as input history.

Source
  ILoop.scala
Version

  1.2

Linear Supertypes
LoopCommands, AnyRef, Any
Known Subclasses
InterpreterLoop
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ILoop
2. LoopCommands
3. AnyRef
4. Any

Implicitly

1. by loopToInterpreter
2. by any2stringadd
3. by StringFormat
4. by Ensuring
5. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new ILoop()
2.  new ILoop(in0: BufferedReader, out: JPrintWriter)
3.  new ILoop(in0: Option[BufferedReader], out: JPrintWriter)

### Type Members

1.  class ILoopInterpreter extends IMain
2.  class ReplCompletion extends Completion
3.  class LineCmd extends (LoopCommands.this)#LoopCommand
   Definition Classes
     LoopCommands
4.  abstract class LoopCommand extends (String) ⇒ (LoopCommands.this)#Result
   Definition Classes
     LoopCommands
5.  class NullaryCmd extends (LoopCommands.this)#LoopCommand
   Definition Classes
     LoopCommands
6.  case class Result(keepRunning: Boolean, lineToRecord: Option[String]) extends Product with Serializable
   Definition Classes
     LoopCommands
7.  class VarArgsCmd extends (LoopCommands.this)#LoopCommand
   Definition Classes
     LoopCommands

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from ILoop to any2stringadd[ILoop] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ILoop, B)
   Implicit
     This member is added by an implicit conversion from ILoop to ArrowAssoc[ILoop] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def addReplay(cmd: String): Unit

   Record a command for replay should the user request a :replay

7.  def addUrlsToClassPath(urls: URL*): Unit

   Adds all specified jars to the compile and runtime classpaths.

   Adds all specified jars to the compile and runtime classpaths.

   urls

     The list of items to add to the compile and runtime classpaths.

   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Definition Classes
     IMain
   Note

     Currently only supports jars, not directories.

8.  def allDefinedNames: (⇒collection.immutable.List[Global.Name]) forSome {val _1: IMain}
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Definition Classes
     IMain
9.  def allHandlers: (⇒collection.immutable.List[(IMain._1.type.memberHandlers)#MemberHandler]) forSome {val _1: IMain}
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Definition Classes
     IMain
10.  def allImportedNames: (⇒collection.immutable.List[Global.Name]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
11.  def ambiguousError(cmd: String): Result
    Definition Classes
      LoopCommands
12.  final def asInstanceOf[T0]: T0
    Definition Classes
      Any
13.  def asyncEcho(async: Boolean, msg: ⇒ String): Unit
14.  def asyncMessage(msg: String): Unit
    Attributes
      protected
15.  def backticked(s: String): String
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
16.  def beQuietDuring[T](body: ⇒ T): T

    Temporarily be quiet

    Temporarily be quiet

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
17.  def beSilentDuring[T](operation: ⇒ T): T
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
18.  def bind[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
19.  def bind(p: NamedParam): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
20.  def bind(name: String, boundType: String, value: Any, modifiers: List[String] = Nil): Results.Result

    Bind a specified name to a specified value.

    Bind a specified name to a specified value. The name may later be used by expressions passed to interpret.

    A fresh `ReadEvalPrint`, which defines a `line` package, is used to compile a custom `eval` object that wraps the bound value.

    If the bound value is successfully installed, then bind the name by interpreting `val name = $line42.$eval.value`.

    name

      the variable name to bind

    boundType

      the type of the variable, as a string

    value

      the object value to bind to it

    returns

      an indication of whether the binding succeeded

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
21.  def chooseReader(settings: Settings): InteractiveReader

    Tries to create a jline.InteractiveReader, falling back to SimpleReader, unless settings or properties are such that it should start with SimpleReader.

    Tries to create a jline.InteractiveReader, falling back to SimpleReader, unless settings or properties are such that it should start with SimpleReader. The constructor of the InteractiveReader must take a Completion strategy, supplied as a `() => Completion`; the Completion object provides a concrete Completer.

22.  def classLoader: util.AbstractFileClassLoader
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
23.  def classOfTerm(id: String): Option[JClass]
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
24.  def cleanMemberDecl: ((owner: _1.global.Symbol, member: _1.global.Name)_1.global.Type) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
25.  def cleanTypeAfterTyper: ((sym: => _1.global.Symbol)_1.global.Type) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
26.  def clearExecutionWrapper(): Unit
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
27.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @native() @throws( ... )
28.  def close(): Unit

    This instance is no longer needed, so release any resources it is using.

    This instance is no longer needed, so release any resources it is using. The reporter's output gets flushed.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
29.  def closeInterpreter(): Unit

    Close the interpreter and set the var to null.

30.  def colonCommand(line: String): Result
    Definition Classes
      LoopCommands
31.  def colonCompletion(line: String, cursor: Int): Completion
    Definition Classes
      LoopCommands
32.  def command(line: String): Result

    Run one command submitted by the user.

    Run one command submitted by the user. Two values are returned: (1) whether to keep running, (2) the line to record for replay, if any.

33.  def commands: List[LoopCommand]

    Available commands

    Available commands

    Definition Classes
      ILoop → LoopCommands
34.  def compileSources(sources: SourceFile*): Boolean

    Compile an nsc SourceFile.

    Compile an nsc SourceFile. Returns true if there are no compilation errors, or false otherwise.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
35.  def compileSourcesKeepingRun: ((sources: scala.reflect.internal.util.SourceFile*)(Boolean, _1.global.Run)) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
36.  def compileString(code: String): Boolean

    Compile a string.

    Compile a string. Returns true if there are no compilation errors, or false otherwise.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
37.  def compilerClasspath: Seq[URL]
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
38.  def createInterpreter(): Unit

    Create a new interpreter.

39.  def dealiasNonPublic: ((tp: _1.global.Type)_1.global.Type) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
40.  def debugging[T](msg: String)(res: T): T
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
41.  def definedSymbolList: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
42.  def definedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
43.  def definedTypes: (⇒collection.immutable.List[Global.TypeName]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
44.  def directBind[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
45.  def directBind(p: NamedParam): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
46.  def directBind(name: String, boundType: String, value: Any): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
47.  def echo(msg: String): Unit
    Attributes
      protected
48.  def echoAndRefresh(msg: String): Unit
    Attributes
      protected
49.  def echoCommandMessage(msg: String): Unit
    Definition Classes
      ILoop → LoopCommands
50.  def editCommand(what: String, editor: Option[String]): Result
51.  def editCommand(what: String): Result
52.  def enablePowerMode(isDuringInit: Boolean): Unit
53.  final def ensureClassLoader(): Unit
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
54.  def ensuring(cond: (ILoop) ⇒ Boolean, msg: ⇒ Any): ILoop
    Implicit
      This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
55.  def ensuring(cond: (ILoop) ⇒ Boolean): ILoop
    Implicit
      This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
56.  def ensuring(cond: Boolean, msg: ⇒ Any): ILoop
    Implicit
      This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
57.  def ensuring(cond: Boolean): ILoop
    Implicit
      This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
58.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
59.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
60.  def executionWrapper: String
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
61.  val fileCompletion: Completion
62.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
63.  def flatPath: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
64.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from ILoop to StringFormat[ILoop] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
65.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
66.  def getClassIfDefined: ((path: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
67.  def getModuleIfDefined: ((path: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
68.  lazy val global: Global
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
69.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
70.  def helpCommand(line: String): Result

    print a friendly help message

    print a friendly help message

    Definition Classes
      LoopCommands
71.  def helpSummary(): Unit
    Definition Classes
      LoopCommands
72.  def history: History
73.  lazy val historyCommand: LoopCommand { def defaultLines: Int }

    Show the history

74.  def implicitSymbolsBySource: (⇒collection.immutable.List[(Global.Symbol, collection.immutable.List[Global.Symbol])]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
75.  def importHandlers: (⇒collection.immutable.List[(IMain._1.type.memberHandlers)#ImportHandler]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
76.  def importedSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
77.  def importedSymbolsBySource: (⇒collection.immutable.List[(Global.Symbol, collection.immutable.List[Global.Symbol])]) forSome {val _1: IMain}

    Tuples of (source, imported symbols) in the order they were imported.

    Tuples of (source, imported symbols) in the order they were imported.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
78.  def importedTermSymbols: (⇒collection.immutable.List[Global.TermSymbol]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
79.  var in: InteractiveReader
80.  def initialize(postInitSignal: ⇒ Unit): Unit
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
81.  def initializeSynchronous(): Unit
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
82.  def interpret(line: String, synthetic: Boolean): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
83.  def interpret(line: String): Results.Result

    Interpret one line of input.

    Interpret one line of input. All feedback, including parse errors and evaluation results, are printed via the supplied compiler's reporter. Values defined are available for future interpreted strings.

    The return value is whether the line was interpreter successfully, e.g. that there were no parse errors.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
84.  def interpretAllFrom(file: File, verbose: Boolean = false): Unit

    interpret all lines from a specified file

85.  final def interpretStartingWith(code: String): Option[String]

    Interpret expressions starting with the first line.

    Interpret expressions starting with the first line. Read lines until a complete compilation unit is available or until a syntax error has been seen. If a full unit is read, go ahead and interpret it. Return the full string to be recorded for replay, if any.

86.  def interpretSynthetic(line: String): Results.Result
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
87.  var intp: IMain
88.  lazy val isClassBased: Boolean
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
89.  def isInitializeComplete: Boolean
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
90.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
91.  def isSbt: Boolean
    Attributes
      protected
92.  lazy val isettings: ISettings

    interpreter settings

    interpreter settings

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
93.  def languageSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
94.  def languageWildcardHandlers: (⇒collection.immutable.List[(Imports._1.type.memberHandlers)#ImportHandler]) forSome {val _1: IMain}
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
95.  def languageWildcardSyms: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}

    Symbols whose contents are language-defined to be imported.

    Symbols whose contents are language-defined to be imported.

    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      Imports
96.  def lastRequest: Request
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
97.  def lastWarnings: collection.immutable.List[(Position, String)]
    Implicit
      This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
      IMain
98.  def lineCommand(what: String): Result
99.  def loadCommand(arg: String): Result
100.  final def loop(line: String): LineResult
     Annotations
       @tailrec()
101.  final def loop(): LineResult

     The main read-eval-print loop for the repl.

     The main read-eval-print loop for the repl. It calls command() for each line of input, and stops when command() returns false.

102.  lazy val memberHandlers: MemberHandlers { val intp: scala.tools.nsc.interpreter.IMain }
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
103.  def mostRecentVar: String

     Returns the name of the most recent interpreter result.

     Returns the name of the most recent interpreter result. Mostly this exists so you can conveniently invoke methods on the previous result.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
104.  var mum: Boolean
     Attributes
       protected
105.  def mumly[A](op: ⇒ A): A
106.  def namedDefinedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
107.  final def ne(arg0: AnyRef): Boolean
     Definition Classes
       AnyRef
108.  def newJavap(): JavapClass
     Attributes
       protected
109.  def newPresentationCompiler(): interactive.Global

     Create an instance of the presentation compiler with a classpath comprising the REPL's configured classpath and the classes output by previously compiled REPL lines.

     Create an instance of the presentation compiler with a classpath comprising the REPL's configured classpath and the classes output by previously compiled REPL lines.

     You may directly interact with this compiler from any thread, although you must not access it concurrently from multiple threads.

     You may downcast the `reporter` to `StoreReporter` to access type errors.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       PresentationCompilation
110.  final def notify(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
111.  final def notifyAll(): Unit
     Definition Classes
       AnyRef
     Annotations
       @native()
112.  def originalPath: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
113.  def originalPath: ((name: _1.global.Name)String) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
114.  def originalPath(name: String): String
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
115.  val out: JPrintWriter
     Attributes
       protected
     Definition Classes
       ILoop → LoopCommands
116.  var partialInput: String
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
117.  def pasteCommand(arg: String): Result
118.  lazy val power: Power[StdReplVals]
119.  def powerCmd(): Result
120.  lazy val powerCommands: List[LoopCommand]

     Power user commands

121.  def prevRequestList: collection.immutable.List[Request]
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
122.  def printWelcome(): Unit

     Print a welcome message!

123.  def process(settings: Settings): Boolean

     Start an interpreter with the given settings.

     Start an interpreter with the given settings.

     returns

       true if successful

124.  def processLine(line: String): Boolean
125.  def prompt: String

     Prompt to print when awaiting input

126.  def quietBind(p: NamedParam): Results.Result
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
127.  def quietRun[T](code: String): Results.Result
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
128.  val readInstanceName: String

     For class based repl mode we use an .INSTANCE accessor.

     For class based repl mode we use an .INSTANCE accessor.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
129.  def readRootPath: ((readPath: String)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
130.  def rebind(p: NamedParam): Results.Result
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
131.  def recordRequest: ((req: _1.Request)Unit) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
132.  def replScope: (⇒Global.Scope) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
133.  def replay(): Unit

     Announces as it replays.

134.  def replayCommand(line: String): Unit

     create a new interpreter and replay the given commands

135.  var replayCommandStack: List[String]

     A reverse list of commands to replay if the user requests a :replay

136.  def replayCommands: collection.immutable.List[String]

     A list of commands to replay if the user requests a :replay

137.  val replayQuestionMessage: String
138.  lazy val reporter: ReplReporter
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
139.  def require(arg: String): Unit

     Adds jar file to the current classpath.

     Adds jar file to the current classpath. Jar will only be added if it does not contain classes that already exist on the current classpath.

     Importantly, `require` adds jars to the classpath without resetting the state of the interpreter. This is in contrast to `replay` which can be used to add jars to the classpath and which creates a new instance of the interpreter and replays all interpreter expressions.

140.  def reset(): Unit

     Resets without announcements.

141.  def resetClassLoader(): Unit
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
142.  def resetCommand(line: String): Unit

     `reset` the interpreter in an attempt to start fresh.

     `reset` the interpreter in an attempt to start fresh. Supplying settings creates a new compiler.

143.  def runtimeClassAndTypeOfTerm: ((id: String)Option[(Class[_], _1.global.Type)]) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
144.  def runtimeMirror: Mirror
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
145.  def runtimeTypeOfTerm: ((id: String)_1.global.Type) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
146.  def saveCommand(filename: String): Result
147.  def savingReader[T](body: ⇒ T): T
148.  def savingReplayStack[T](body: ⇒ T): T
149.  def searchHistory(_cmdline: String): Unit

     Search the history

150.  def sessionImportedSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       Imports
151.  def sessionWildcards: (⇒collection.immutable.List[Global.Type]) forSome {val _1: IMain}

     Types which have been wildcard imported, such as: val x = "abc" ; import x._ // type java.lang.String import java.lang.String._ // object java.lang.String

     Types which have been wildcard imported, such as: val x = "abc" ; import x._ // type java.lang.String import java.lang.String._ // object java.lang.String

     Used by tab completion.

     XXX right now this gets import x._ and import java.lang.String._, but doesn't figure out import String._. There's a lot of ad hoc scope twiddling which should be swept away in favor of digging into the compiler scopes.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       Imports
152.  def setExecutionWrapper(code: String): Unit
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
153.  var settings: Settings
154.  val settingsCompletion: Completion
155.  lazy val shCommand: LoopCommand

     fork a shell and run a command

156.  def showCodeIfDebugging(code: String): Unit
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
157.  def showDirectory(): Unit
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
158.  lazy val standardCommands: collection.immutable.List[LoopCommand]

     Standard commands *

159.  def symbolDefString: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
160.  def symbolOfIdent: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
161.  def symbolOfLine: ((code: String)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
162.  def symbolOfName: ((id: _1.global.Name)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
163.  def symbolOfTerm: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
164.  def symbolOfType: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
165.  final def synchronized[T0](arg0: ⇒ T0): T0
     Definition Classes
       AnyRef
166.  def toString(): String
     Definition Classes
       AnyRef → Any
167.  def translateEnclosingClass(n: String): Option[String]
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
168.  def translateOriginalPath(p: String): String
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
169.  def translatePath(path: String): Option[String]
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
170.  def translateSimpleResource(path: String): Option[String]

     If path represents a class resource in the default package, see if the corresponding symbol has a class file that is a REPL artifact residing at a different resource path.

     If path represents a class resource in the default package, see if the corresponding symbol has a class file that is a REPL artifact residing at a different resource path. Translate X.class to $line3/$read$$iw$$iw$X.class.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
171.  def tryTwice: ((op: => _1.global.Symbol)_1.global.Symbol) forSome {val _1: IMain}

     It's a bit of a shotgun approach, but for now we will gain in robustness.

     It's a bit of a shotgun approach, but for now we will gain in robustness. Try a symbol-producing operation at phase typer, and if that is NoSymbol, try again at phase flatten. I'll be able to lose this and run only from exitingTyper as soon as I figure out exactly where a flat name is sneaking in when calculating imports.

     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
172.  def typeOfExpression: ((expr: String, silent: Boolean)_1.global.Type) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
173.  def typeOfTerm: ((id: String)_1.global.Type) forSome {val _1: IMain}
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
174.  def unqualifiedIds: List[String]
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
175.  def valueOfTerm(id: String): Option[Any]
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
176.  def verbosity(): Unit
177.  final def wait(): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
178.  final def wait(arg0: Long, arg1: Int): Unit
     Definition Classes
       AnyRef
     Annotations
       @throws( ... )
179.  final def wait(arg0: Long): Unit
     Definition Classes
       AnyRef
     Annotations
       @native() @throws( ... )
180.  def withFile[A](filename: String)(action: (File) ⇒ A): Option[A]
181.  def withLabel[A](temp: String)(body: ⇒ A): A
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
182.  def withoutTruncating[A](body: ⇒ A): A
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
183.  def withoutUnwrapping(op: ⇒ Unit): Unit
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
184.  def withoutWarnings[T](body: ⇒ T): T
     Implicit
       This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
     Definition Classes
       IMain
185.  def →[B](y: B): (ILoop, B)
     Implicit
       This member is added by an implicit conversion from ILoop to ArrowAssoc[ILoop] performed by method ArrowAssoc in scala.Predef.
     Definition Classes
       ArrowAssoc
186.  object LineResults extends Enumeration
187.  object LoopCommand
     Definition Classes
       LoopCommands
188.  object Result extends Serializable
     Definition Classes
       LoopCommands

### Shadowed Implicit Value Members

1.  def finalize(): Unit
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (iLoop: IMain).finalize()

   Definition Classes
     IMain → AnyRef
2.  def reset(): Unit

   Reset this interpreter, forgetting all user-specified requests.

   Reset this interpreter, forgetting all user-specified requests.

   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (iLoop: IMain).reset()

   Definition Classes
     IMain
3.  def settings: Settings
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Shadowing
     This implicitly inherited member is shadowed by one or more members in this class.
     To access this member you can use a type ascription:

         (iLoop: IMain).settings

   Definition Classes
     IMain

### Deprecated Value Members

1.  def addClasspath(arg: String): Unit
   Annotations
     @deprecated
   Deprecated

     (Since version 2.11.0) use reset, replay or require to update class path

2.  var addedClasspath: String
   Annotations
     @deprecated
   Deprecated

     (Since version 2.11.0) use reset, replay or require to update class path

3.  def interpreter: IMain
   Annotations
     @deprecated
   Deprecated

     (Since version 2.9.0) use `intp` instead.

4.  def interpreter_=(i: Interpreter): Unit
   Annotations
     @deprecated
   Deprecated

     (Since version 2.9.0) use `intp` instead.

5.  def setContextClassLoader(): Unit
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Definition Classes
     IMain
   Annotations
     @deprecated
   Deprecated

     (Since version 2.12.0) The thread context classloader is now set and restored around execution of REPL line, this method is now a no-op.

6.  def virtualDirectory: ReplDir
   Implicit
     This member is added by an implicit conversion from ILoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
   Definition Classes
     IMain
   Annotations
     @deprecated
   Deprecated

     (Since version 2.11.0) Use replOutput.dir instead

### Inherited from LoopCommands

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion loopToInterpreter from ILoop to IMain

### Inherited by implicit conversion any2stringadd from ILoop to any2stringadd[ILoop]

### Inherited by implicit conversion StringFormat from ILoop to StringFormat[ILoop]

### Inherited by implicit conversion Ensuring from ILoop to Ensuring[ILoop]

### Inherited by implicit conversion ArrowAssoc from ILoop to ArrowAssoc[ILoop]

### Ungrouped