scala.tools.nsc.interpreter

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
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ILoop
  2. LoopCommands
  3. AnyRef
  4. Any
Implicitly
  1. by loopToInterpreter
  2. by any2stringadd
  3. by any2stringfmt
  4. by any2ArrowAssoc
  5. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
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 LineCmd extends LoopCommand

    Definition Classes
    LoopCommands
  3. abstract class LoopCommand extends (String) ⇒ Result

    Definition Classes
    LoopCommands
  4. class NullaryCmd extends LoopCommand

    Definition Classes
    LoopCommands
  5. case class Result(keepRunning: Boolean, lineToRecord: Option[String]) extends Product with Serializable

    Definition Classes
    LoopCommands
  6. class VarArgsCmd extends LoopCommand

    Definition Classes
    LoopCommands

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ILoop to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ILoop, B)

    Implicit information
    This member is added by an implicit conversion from ILoop to ArrowAssoc[ILoop] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  8. object LoopCommand

    Definition Classes
    LoopCommands
  9. object Result extends Serializable

    Definition Classes
    LoopCommands
  10. def addClasspath(arg: String): Unit

  11. def addReplay(cmd: String): Unit

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

  12. var addedClasspath: String

  13. def allDefinedNames: (⇒collection.immutable.List[Global.Name]) forSome {val _1924: IMain}

    Implicit information
    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
  14. def allHandlers: (⇒collection.immutable.List[(IMain._1930.type.memberHandlers)#MemberHandler]) forSome {val _1930: IMain}

    Implicit information
    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
  15. def allImportedNames: (⇒collection.immutable.List[Global.Name]) forSome {val _1936: IMain}

    Implicit information
    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
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def asyncEcho(async: Boolean, msg: ⇒ String): Unit

  18. def asyncMessage(msg: String): Unit

    Attributes
    protected
  19. def backticked(s: String): String

    Implicit information
    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 beQuietDuring[T](body: ⇒ T): T

    Temporarily be quiet

    Temporarily be quiet

    Implicit information
    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 beSilentDuring[T](operation: ⇒ T): T

    Implicit information
    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
  22. def bind[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): Results.Result

    Implicit information
    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 bind(p: NamedParam): Results.Result

    Implicit information
    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 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.

    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 information
    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 chooseReader(settings: Settings): InteractiveReader

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

  26. def classLoader: AbstractFileClassLoader

    Implicit information
    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 classOfTerm(id: String): Option[JClass]

    Implicit information
    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
  28. def cleanMemberDecl: ((owner: _1942.global.Symbol, member: _1942.global.Name)_1942.global.Type) forSome {val _1942: IMain}

    Implicit information
    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 cleanTypeAfterTyper: ((sym: => _1948.global.Symbol)_1948.global.Type) forSome {val _1948: IMain}

    Implicit information
    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
  30. def clearExecutionWrapper(): Unit

    Implicit information
    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
  31. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. 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 information
    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
  33. def closeInterpreter(): Unit

    Close the interpreter and set the var to null.

  34. 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.

  35. def commands: List[LoopCommand]

    Available commands

  36. 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 information
    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 compileSourcesKeepingRun: ((sources: scala.reflect.internal.util.SourceFile*)(Boolean, _1954.global.Run)) forSome {val _1954: IMain}

    Implicit information
    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 compileString(code: String): Boolean

    Compile a string.

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

    Implicit information
    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
  39. def compilerClasspath: Seq[URL]

    Implicit information
    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 createInterpreter(): Unit

    Create a new interpreter.

  41. def debugging[T](msg: String)(res: T): T

    Implicit information
    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 definedSymbolList: (⇒collection.immutable.List[Global.Symbol]) forSome {val _1960: IMain}

    Implicit information
    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 definedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _1966: IMain}

    Implicit information
    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 definedTypes: (⇒collection.immutable.List[Global.TypeName]) forSome {val _1972: IMain}

    Implicit information
    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[T](name: String, value: T)(implicit arg0: reflect.api.JavaUniverse.TypeTag[T], arg1: ClassTag[T]): Results.Result

    Implicit information
    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(p: NamedParam): Results.Result

    Implicit information
    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 directBind(name: String, boundType: String, value: Any): Results.Result

    Implicit information
    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
  48. def echo(msg: String): Unit

    Attributes
    protected
  49. def echoAndRefresh(msg: String): Unit

    Attributes
    protected
  50. def echoCommandMessage(msg: String): Unit

    Definition Classes
    ILoopLoopCommands
  51. def enablePowerMode(isDuringInit: Boolean): Unit

  52. final def ensureClassLoader(): Unit

    Implicit information
    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
  53. def ensuring(cond: (ILoop) ⇒ Boolean, msg: ⇒ Any): ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  54. def ensuring(cond: (ILoop) ⇒ Boolean): ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  55. def ensuring(cond: Boolean, msg: ⇒ Any): ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  56. def ensuring(cond: Boolean): ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  57. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  59. def executionWrapper: String

    Implicit information
    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
  60. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  61. def flatPath: ((sym: _1978.global.Symbol)String) forSome {val _1978: IMain}

    Implicit information
    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
  62. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from ILoop to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  63. lazy val formatting: Formatting

    Implicit information
    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. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  65. def getClassIfDefined: ((path: String)_1984.global.Symbol) forSome {val _1984: IMain}

    Implicit information
    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
  66. def getModuleIfDefined: ((path: String)_1990.global.Symbol) forSome {val _1990: IMain}

    Implicit information
    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. lazy val global: Global

    the public, go through the future compiler

    the public, go through the future compiler

    Implicit information
    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. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  69. def helpCommand(line: String): Result

    print a friendly help message

  70. def history: History

  71. lazy val historyCommand: LoopCommand { def defaultLines: Int }

    Show the history

  72. def implicitSymbolsBySource: (⇒collection.immutable.List[(Global.Symbol, collection.immutable.List[Global.Symbol])]) forSome {val _1996: IMain}

    Implicit information
    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
  73. def importHandlers: (⇒collection.immutable.List[(IMain._2002.type.memberHandlers)#ImportHandler]) forSome {val _2002: IMain}

    Implicit information
    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
  74. def importedSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _2008: IMain}

    Implicit information
    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 importedSymbolsBySource: (⇒collection.immutable.List[(Global.Symbol, collection.immutable.List[Global.Symbol])]) forSome {val _2014: IMain}

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

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

    Implicit information
    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
  76. def importedTermSymbols: (⇒collection.immutable.List[Global.TermSymbol]) forSome {val _2020: IMain}

    Implicit information
    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. var in: InteractiveReader

  78. def initialize(postInitSignal: ⇒ Unit): Unit

    Implicit information
    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
  79. def initializeSynchronous(): Unit

    Implicit information
    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
  80. def interpret(line: String, synthetic: Boolean): Results.Result

    Implicit information
    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 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 information
    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 interpretAllFrom(file: File): Unit

    interpret all lines from a specified file

  83. 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.

  84. def interpretSynthetic(line: String): Results.Result

    Implicit information
    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
  85. var intp: IMain

  86. def isInitializeComplete: Boolean

    Implicit information
    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. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  88. lazy val isettings: ISettings

    interpreter settings

    interpreter settings

    Implicit information
    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 languageSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _2026: IMain}

    Implicit information
    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
  90. def languageWildcardHandlers: (⇒collection.immutable.List[(Imports._2032.type.memberHandlers)#ImportHandler]) forSome {val _2032: IMain}

    Implicit information
    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
  91. def languageWildcardSyms: (⇒collection.immutable.List[Global.Symbol]) forSome {val _2038: IMain}

    Symbols whose contents are language-defined to be imported.

    Symbols whose contents are language-defined to be imported.

    Implicit information
    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
  92. def lastRequest: Request

    Implicit information
    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 lastWarnings: collection.immutable.List[(Position, String)]

    Implicit information
    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
  94. def loadCommand(arg: String): Result

  95. def loadFiles(settings: Settings): Unit

  96. final def loop(): Unit

    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.

    Annotations
    @tailrec()
  97. lazy val memberHandlers: MemberHandlers { val intp: scala.tools.nsc.interpreter.IMain }

    Implicit information
    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 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 information
    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
  99. def namedDefinedTerms: (⇒collection.immutable.List[Global.TermName]) forSome {val _2058: IMain}

    Implicit information
    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
  100. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  101. def newJavap(): JavapClass

    Attributes
    protected
  102. def normalizeNonPublic: ((tp: _2064.global.Type)_2064.global.Type) forSome {val _2064: IMain}

    Implicit information
    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. final def notify(): Unit

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

    Definition Classes
    AnyRef
  105. def originalPath: ((sym: _2070.global.Symbol)String) forSome {val _2070: IMain}

    Implicit information
    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
  106. def originalPath: ((name: _2076.global.Name)String) forSome {val _2076: IMain}

    Implicit information
    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. def originalPath(name: String): String

    Implicit information
    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
  108. val out: JPrintWriter

    Attributes
    protected
    Definition Classes
    ILoopLoopCommands
  109. def parse: ((line: String)Option[List[_2082.global.Tree]]) forSome {val _2082: IMain}

    Implicit information
    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
  110. def pasteCommand(): Result

  111. lazy val power: Power[StdReplVals]

  112. def powerCmd(): Result

  113. lazy val powerCommands: List[LoopCommand]

    Power user commands

  114. def prevRequestList: collection.immutable.List[Request]

    Implicit information
    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. def printWelcome(): Unit

    Print a welcome message

  116. def process(settings: Settings): Boolean

  117. def processLine(line: String): Boolean

  118. def prompt: String

    Prompt to print when awaiting input

  119. def quietBind(p: NamedParam): Results.Result

    Implicit information
    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
  120. def quietRun[T](code: String): Results.Result

    Implicit information
    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
  121. def rebind(p: NamedParam): Results.Result

    Implicit information
    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 recordRequest: ((req: _2094.Request)Unit) forSome {val _2094: IMain}

    Implicit information
    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
  123. def replScope: (⇒Global.Scope) forSome {val _2100: IMain}

    Implicit information
    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
  124. def replay(): Unit

    create a new interpreter and replay the given commands

  125. var replayCommandStack: List[String]

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

  126. def replayCommands: collection.immutable.List[String]

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

  127. val replayQuestionMessage: String

  128. lazy val reporter: ReplReporter

    Implicit information
    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 reset(): Unit

  130. def resetClassLoader(): Unit

    Implicit information
    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 resetCommand(): Unit

  132. def runtimeClassAndTypeOfTerm: ((id: String)Option[(Class[_], _2106.global.Type)]) forSome {val _2106: IMain}

    Implicit information
    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. lazy val runtimeMirror: reflect.api.JavaUniverse.Mirror

    Implicit information
    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
  134. def runtimeTypeOfTerm: ((id: String)_2112.global.Type) forSome {val _2112: IMain}

    Implicit information
    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
  135. def savingReader[T](body: ⇒ T): T

  136. def savingReplayStack[T](body: ⇒ T): T

  137. def searchHistory(_cmdline: String): Unit

    Search the history

  138. def sessionImportedSymbols: (⇒collection.immutable.List[Global.Symbol]) forSome {val _2118: IMain}

    Implicit information
    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
  139. def sessionWildcards: (⇒collection.immutable.List[Global.Type]) forSome {val _2124: IMain}

    Types which have been wildcard imported, such as: val x = "abc" ; import x.

    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 information
    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
  140. def setContextClassLoader(): Unit

    Implicit information
    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
  141. def setExecutionWrapper(code: String): Unit

    Implicit information
    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. var settings: Settings

  143. lazy val shCommand: LoopCommand

    fork a shell and run a command

  144. def showCodeIfDebugging(code: String): Unit

    Implicit information
    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 showDirectory(): Unit

    Implicit information
    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. lazy val standardCommands: collection.immutable.List[LoopCommand]

    Standard commands *

  147. def symbolDefString: ((sym: _2130.global.Symbol)String) forSome {val _2130: IMain}

    Implicit information
    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
  148. def symbolOfIdent: ((id: String)_2136.global.Symbol) forSome {val _2136: IMain}

    Implicit information
    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
  149. def symbolOfLine: ((code: String)_2142.global.Symbol) forSome {val _2142: IMain}

    Implicit information
    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
  150. def symbolOfName: ((id: _2148.global.Name)_2148.global.Symbol) forSome {val _2148: IMain}

    Implicit information
    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
  151. def symbolOfTerm: ((id: String)_2154.global.Symbol) forSome {val _2154: IMain}

    Implicit information
    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
  152. def symbolOfType: ((id: String)_2160.global.Symbol) forSome {val _2160: IMain}

    Implicit information
    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. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  154. def toString(): String

    Definition Classes
    AnyRef → Any
  155. def translateEnclosingClass(n: String): Option[String]

    Implicit information
    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
  156. def translatePath(path: String): Option[String]

    Implicit information
    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 tryTwice: ((op: => _2166.global.Symbol)_2166.global.Symbol) forSome {val _2166: 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 information
    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. def typeOfExpression: ((expr: String, silent: Boolean)_2172.global.Type) forSome {val _2172: IMain}

    Implicit information
    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
  159. def typeOfTerm: ((id: String)_2178.global.Type) forSome {val _2178: IMain}

    Implicit information
    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 unqualifiedIds: List[String]

    Implicit information
    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 valueOfTerm(id: String): Option[Any]

    Implicit information
    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 verbosity(): Unit

  163. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  166. def withFile(filename: String)(action: (File) ⇒ Unit): Unit

  167. def withoutUnwrapping(op: ⇒ Unit): Unit

    Implicit information
    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 withoutWarnings[T](body: ⇒ T): T

    Implicit information
    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 [B](y: B): (ILoop, B)

    Implicit information
    This member is added by an implicit conversion from ILoop to ArrowAssoc[ILoop] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implict Value Members

  1. def reset(): Unit

    Reset this interpreter, forgetting all user-specified requests.

    Reset this interpreter, forgetting all user-specified requests.

    Implicit information
    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
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from ILoop to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (iLoop: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from ILoop to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (iLoop: StringFormat).self
    Definition Classes
    StringFormat
  4. def settings: Settings

    Implicit information
    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 interpreter: IMain

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use intp instead.

  2. def interpreter_=(i: Interpreter): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use intp instead.

  3. def main(settings: Settings): Unit

    Annotations
    @deprecated
    Deprecated

    (Since version 2.9.0) Use process instead

  4. def virtualDirectory: ReplDir

    Implicit information
    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

  5. def x: ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to ArrowAssoc[ILoop] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (iLoop: ArrowAssoc[ILoop]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  6. def x: ILoop

    Implicit information
    This member is added by an implicit conversion from ILoop to Ensuring[ILoop] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (iLoop: Ensuring[ILoop]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring 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 StringAdd

Inherited by implicit conversion any2stringfmt from ILoop to StringFormat

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

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

Ungrouped