class Request extends ReplRequest
One line of code submitted by the user for interpretation
- Source
- IMain.scala
- Alphabetic
- By Inheritance
- Request
- ReplRequest
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Request(line: String, origTrees: List[Global.Tree], firstXmlPos: Global.Position = NoPosition, generousImports: Boolean = false, synthetic: Boolean = false)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Request, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- lazy val accessPath: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- def applyToResultMember[T](name: Global.Name, f: (Global.Symbol) => T): T
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compile: Boolean
Compile the object file.
Compile the object file. Returns whether the compilation succeeded. If all goes well, the "types" map is computed.
- lazy val compilerTypeOf: Map[Global.Name, Global.Type]
Types of variables defined by this request.
- def defHandlers: collection.immutable.List[(memberHandlers)#MemberDefHandler]
- lazy val definedSymbols: Map[Global.Name, Global.Symbol]
- def defines: collection.immutable.List[Global.Symbol]
- val definesClass: Boolean
- def definesTermNames: List[String]
- def ensuring(cond: (Request) => Boolean, msg: => Any): Request
- def ensuring(cond: (Request) => Boolean): Request
- def ensuring(cond: Boolean, msg: => Any): Request
- def ensuring(cond: Boolean): Request
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eval: Either[Throwable, AnyRef]
- Definition Classes
- Request → ReplRequest
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- def fullAccessPath: String
The path of the value that contains the user code.
- def fullPath(vname: String): String
The path of the given member of the wrapping instance.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handlers: List[(memberHandlers)#MemberHandler]
handlers for each tree in this request
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val headerPreamble: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- def importedSymbols: collection.immutable.List[Global.Symbol]
- def imports: collection.immutable.List[Global.Symbol]
- lazy val importsPreamble: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- lazy val importsTrailer: String
Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val line: String
- Definition Classes
- Request → ReplRequest
- val lineRep: ReadEvalPrint
- def loadAndRun: Either[String, String]
load and run the code using reflection
- def lookupTypeOf(name: Global.Name): String
- def mkUnit: Global.CompilationUnit
generate the source code for the object that computes this request
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def postwrap: String
Like postamble for an import wrapper.
- val referencedNames: List[Global.Name]
list of names used by this expression
- lazy val resultSymbol: Global.Symbol
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def termNames: collection.immutable.List[Global.TermName]
def and val names
- def toString(): String
- Definition Classes
- Request → AnyRef → Any
- val trees: List[Global.Tree]
- def typeNames: collection.immutable.List[Global.TypeName]
- lazy val typeOf: Map[Global.Name, String]
String representations of same.
- lazy val typesOfDefinedTerms: Map[Global.Name, Global.Type]
- def value: Global.Symbol
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def wrapperDef(iw: String): String
Deprecated Value Members
- def →[B](y: B): (Request, B)
- Implicit
- This member is added by an implicit conversion from Request toArrowAssoc[Request] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
The Scala compiler and reflection APIs.