Packages

c

scala.tools.nsc

InterpreterLoop

class InterpreterLoop extends ILoop

A compatibility stub for sbt.

Annotations
@deprecated
Deprecated

(Since version 2.9.0) Use scala.tools.nsc.interpreter.ILoop.

Source
InterpreterLoop.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InterpreterLoop
  2. ILoop
  3. LoopCommands
  4. AnyRef
  5. 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 InterpreterLoop()
  2. new InterpreterLoop(in0: BufferedReader, out: PrintWriter)
  3. new InterpreterLoop(in0: Option[BufferedReader], out: PrintWriter)

Type Members

  1. class ILoopInterpreter extends IMain
    Definition Classes
    ILoop
  2. class ReplCompletion extends Completion
    Definition Classes
    ILoop
  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. def addReplay(cmd: String): Unit

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

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

    Definition Classes
    ILoop
  2. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
    Note

    Currently only supports jars, not directories.

  3. def allDefinedNames: (⇒collection.immutable.List[Global.Name]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  4. def allHandlers: (⇒collection.immutable.List[(interpreter.IMain._1.type.memberHandlers)#MemberHandler]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  5. def ambiguousError(cmd: String): Result
    Definition Classes
    LoopCommands
  6. def asyncEcho(async: Boolean, msg: ⇒ String): Unit
    Definition Classes
    ILoop
  7. def backticked(s: String): String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  8. def beQuietDuring[T](body: ⇒ T): T

    Temporarily be quiet

    Temporarily be quiet

    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  9. def beSilentDuring[T](operation: ⇒ T): T
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  10. def bind[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  11. def bind(p: NamedParam): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  12. def bind(name: String, boundType: String, value: Any, modifiers: List[String] = Nil): interpreter.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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  13. 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.

    Definition Classes
    ILoop
  14. def classLoader: AbstractFileClassLoader
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  15. def classOfTerm(id: String): Option[JClass]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  16. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  17. def cleanTypeAfterTyper: ((sym: => _1.global.Symbol)_1.global.Type) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  18. def clearExecutionWrapper(): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  19. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain → Closeable → AutoCloseable
  20. def closeInterpreter(): Unit

    Close the interpreter and set the var to null.

    Close the interpreter and set the var to null.

    Definition Classes
    ILoop
  21. def colonCommand(line: String): Result
    Definition Classes
    LoopCommands
  22. def colonCompletion(line: String, cursor: Int): Completion
    Definition Classes
    LoopCommands
  23. 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.

    Definition Classes
    ILoop
  24. def commands: List[LoopCommand]

    Available commands

    Available commands

    Definition Classes
    ILoopLoopCommands
  25. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  26. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  27. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  28. def compilerClasspath: Seq[URL]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  29. def completionsCommand(what: String): Result
    Definition Classes
    ILoop
  30. def createInterpreter(): Unit

    Create a new interpreter.

    Create a new interpreter.

    Definition Classes
    ILoop
  31. def dealiasNonPublic: ((tp: _1.global.Type)_1.global.Type) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  32. def debugging[T](msg: String)(res: T): T
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  33. def definedSymbolList: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  34. def definedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  35. def definedTypes: (⇒collection.immutable.List[Global.TypeName]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  36. def directBind[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  37. def directBind(p: NamedParam): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  38. def directBind(name: String, boundType: String, value: Any): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  39. def echoCommandMessage(msg: String): Unit
    Definition Classes
    ILoopLoopCommands
  40. def editCommand(what: String, editor: Option[String]): Result
    Definition Classes
    ILoop
  41. def editCommand(what: String): Result
    Definition Classes
    ILoop
  42. def enablePowerMode(isDuringInit: Boolean): Unit
    Definition Classes
    ILoop
  43. final def ensureClassLoader(): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  44. def executionWrapper: String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  45. val fileCompletion: Completion
    Definition Classes
    ILoop
  46. def flatPath: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  47. def getClassIfDefined: ((path: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  48. def getModuleIfDefined: ((path: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  49. lazy val global: Global
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  50. def helpCommand(line: String): Result

    print a friendly help message

    print a friendly help message

    Definition Classes
    LoopCommands
  51. def helpSummary(): Unit
    Definition Classes
    LoopCommands
  52. def history: History
    Definition Classes
    ILoop
  53. lazy val historyCommand: LoopCommand { def defaultLines: Int }

    Show the history

    Show the history

    Definition Classes
    ILoop
  54. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    Imports
  55. def importHandlers: (⇒collection.immutable.List[(interpreter.IMain._1.type.memberHandlers)#ImportHandler]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  56. var in: InteractiveReader
    Definition Classes
    ILoop
  57. def initialize(postInitSignal: ⇒ Unit): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  58. def initializeSynchronous(): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  59. def interpret(line: String, synthetic: Boolean): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  60. def interpret(line: String): interpreter.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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  61. def interpretAllFrom(file: File, verbose: Boolean = false): Unit

    interpret all lines from a specified file

    interpret all lines from a specified file

    Definition Classes
    ILoop
  62. 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.

    Definition Classes
    ILoop
  63. def interpretSynthetic(line: String): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  64. var intp: IMain
    Definition Classes
    ILoop
  65. lazy val isClassBased: Boolean
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  66. def isInitializeComplete: Boolean
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  67. lazy val isettings: ISettings

    interpreter settings

    interpreter settings

    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  68. def languageWildcardHandlers: (⇒collection.immutable.List[(interpreter.Imports._1.type.memberHandlers)#ImportHandler]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    Imports
  69. def lastRequest: Request
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  70. def lastWarnings: collection.immutable.List[(Position, String)]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  71. def lineCommand(what: String): Result
    Definition Classes
    ILoop
  72. def loadCommand(arg: String): Result
    Definition Classes
    ILoop
  73. final def loop(line: String): LineResult
    Definition Classes
    ILoop
    Annotations
    @tailrec()
  74. 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.

    Definition Classes
    ILoop
  75. lazy val memberHandlers: MemberHandlers { val intp: scala.tools.nsc.interpreter.IMain }
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  76. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  77. def mumly[A](op: ⇒ A): A
    Definition Classes
    ILoop
  78. def namedDefinedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  79. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    PresentationCompilation
  80. def originalPath: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  81. def originalPath: ((name: _1.global.Name)String) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  82. def originalPath(name: String): String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  83. var partialInput: String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  84. def pasteCommand(arg: String): Result
    Definition Classes
    ILoop
  85. lazy val power: Power[StdReplVals]
    Definition Classes
    ILoop
  86. def powerCmd(): Result
    Definition Classes
    ILoop
  87. lazy val powerCommands: List[LoopCommand]

    Power user commands

    Power user commands

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

    Print a welcome message!

    Print a welcome message!

    Definition Classes
    ILoop
  90. def process(settings: Settings): Boolean

    Start an interpreter with the given settings.

    Start an interpreter with the given settings.

    returns

    true if successful

    Definition Classes
    ILoop
  91. def processLine(line: String): Boolean
    Definition Classes
    ILoop
  92. def prompt: String

    Prompt to print when awaiting input

    Prompt to print when awaiting input

    Definition Classes
    ILoop
  93. def quietBind(p: NamedParam): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  94. def quietRun[T](code: String): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  95. val readInstanceName: String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  96. def readRootPath: ((readPath: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  97. def rebind(p: NamedParam): interpreter.Results.Result
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  98. def recordRequest: ((req: _1.Request)Unit) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  99. def replScope: (⇒Global.Scope) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  100. def replay(): Unit

    Announces as it replays.

    Announces as it replays.

    Definition Classes
    ILoop
  101. def replayCommand(line: String): Unit

    create a new interpreter and replay the given commands

    create a new interpreter and replay the given commands

    Definition Classes
    ILoop
  102. var replayCommandStack: List[String]

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

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

    Definition Classes
    ILoop
  103. def replayCommands: collection.immutable.List[String]

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

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

    Definition Classes
    ILoop
  104. val replayQuestionMessage: String
    Definition Classes
    ILoop
  105. lazy val reporter: ReplReporter
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  106. 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.

    Definition Classes
    ILoop
  107. def reset(): Unit

    Resets without announcements.

    Resets without announcements.

    Definition Classes
    ILoop
  108. def resetClassLoader(): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  109. 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.

    Definition Classes
    ILoop
  110. def runtimeClassAndTypeOfTerm: ((id: String)Option[(Class[_], _1.global.Type)]) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  111. def runtimeMirror: Mirror
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  112. def runtimeTypeOfTerm: ((id: String)_1.global.Type) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  113. def saveCommand(filename: String): Result
    Definition Classes
    ILoop
  114. def savingReader[T](body: ⇒ T): T
    Definition Classes
    ILoop
  115. def savingReplayStack[T](body: ⇒ T): T
    Definition Classes
    ILoop
  116. def searchHistory(_cmdline: String): Unit

    Search the history

    Search the history

    Definition Classes
    ILoop
  117. def setExecutionWrapper(code: String): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  118. var settings: Settings
    Definition Classes
    ILoop
  119. val settingsCompletion: Completion
    Definition Classes
    ILoop
  120. lazy val shCommand: LoopCommand

    fork a shell and run a command

    fork a shell and run a command

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

    Standard commands *

    Standard commands *

    Definition Classes
    ILoop
  124. def symbolDefString: ((sym: _1.global.Symbol)String) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  125. def symbolOfIdent: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  126. def symbolOfLine: ((code: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  127. def symbolOfName: ((id: _1.global.Name)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  128. def symbolOfTerm: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  129. def symbolOfType: ((id: String)_1.global.Symbol) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  130. def translateEnclosingClass(n: String): Option[String]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  131. def translateOriginalPath(p: String): String
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  132. def translatePath(path: String): Option[String]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  133. 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$X.class.

    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  134. 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 InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  135. def typeOfExpression: ((expr: String, silent: Boolean)_1.global.Type) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  136. def typeOfTerm: ((id: String)_1.global.Type) forSome {val _1: IMain}
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  137. def unqualifiedIds: List[String]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  138. def valueOfTerm(id: String): Option[Any]
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  139. def verbosity(): Unit
    Definition Classes
    ILoop
  140. def withFile[A](filename: String)(action: (File) ⇒ A): Option[A]
    Definition Classes
    ILoop
  141. def withLabel[A](temp: String)(body: ⇒ A): A
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  142. def withoutTruncating[A](body: ⇒ A): A
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  143. def withoutUnwrapping(op: ⇒ Unit): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  144. def withoutWarnings[T](body: ⇒ T): T
    Implicit
    This member is added by an implicit conversion from InterpreterLoop to IMain performed by method loopToInterpreter in scala.tools.nsc.interpreter.ILoop.
    Definition Classes
    IMain
  145. object LineResults extends Enumeration
    Definition Classes
    ILoop
  146. object LoopCommand
    Definition Classes
    LoopCommands
  147. 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 InterpreterLoop 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:
    (interpreterLoop: 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 InterpreterLoop 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:
    (interpreterLoop: IMain).reset()
    Definition Classes
    IMain
  3. def settings: Settings
    Implicit
    This member is added by an implicit conversion from InterpreterLoop 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:
    (interpreterLoop: IMain).settings
    Definition Classes
    IMain

Deprecated Value Members

  1. def addClasspath(arg: String): Unit
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

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

  2. var addedClasspath: String
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

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

  3. def interpreter: IMain
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) use intp instead.

  4. def interpreter_=(i: Interpreter): Unit
    Definition Classes
    ILoop
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) use intp instead.

  5. def main(settings: Settings): Unit
    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) use process instead

  6. def setContextClassLoader(): Unit
    Implicit
    This member is added by an implicit conversion from InterpreterLoop 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.

  7. def virtualDirectory: ReplDir
    Implicit
    This member is added by an implicit conversion from InterpreterLoop 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