scala.tools.nsc.interpreter.IMain

Request

class Request extends AnyRef

One line of code submitted by the user for interpretation

Source
IMain.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Request
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Request(line: String, trees: List[Tree])

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. val accessPath: String

    Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.

  7. def applyToResultMember[T](name: Name, f: (Symbol) ⇒ T): T

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. lazy val compile: Boolean

    Compile the object file.

    Compile the object file. Returns whether the compilation succeeded. If all goes well, the "types" map is computed.

  11. lazy val compilerTypeOf: Map[Name, Type]

    Types of variables defined by this request.

  12. val definedNames: List[Name]

    all (public) names defined by these statements

  13. def definedOrImported: List[Name]

  14. lazy val definedSymbols: Map[Name, Symbol]

  15. def disambiguated(name: Name): String

    The unmangled symbol name, but supplemented with line info.

  16. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. def fullFlatName(name: String): String

    Same as fullpath, but after it has been flattened, so: $line5.

    Same as fullpath, but after it has been flattened, so: $line5.$iw.$iw.$iw.Bippy // fullPath $line5.$iw$$iw$$iw$Bippy // fullFlatName

  20. def fullPath(vname: Name): String

    Code to access a variable with the specified name

  21. def fullPath(vname: String): String

    Code to access a variable with the specified name

  22. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  23. def getEval: Option[AnyRef]

  24. def getEvalTyped[T]: Option[T]

  25. val handlers: List[MemberHandler]

    handlers for each tree in this request

  26. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  27. val importsPreamble: String

    Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.

  28. val importsTrailer: String

    Code to import bound names from previous lines - accessPath is code to append to objectName to access anything bound by request.

  29. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  30. val line: String

  31. val lineRep: ReadEvalPrint

  32. def loadAndRun: (String, Boolean)

    load and run the code using reflection

  33. def lookupTypeOf(name: Name): String

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

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

    Definition Classes
    AnyRef
  37. def originalLine: String

  38. val referencedNames: List[Name]

    list of names used by this expression

  39. lazy val resultSymbol: Symbol

  40. def simpleNameOfType(name: TypeName): Option[Name]

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  42. def termNames: List[TermName]

    def and val names

  43. def toCompute: String

    the line of code to compute

  44. def toString(): String

    Definition Classes
    Request → AnyRef → Any
  45. val trees: List[Tree]

  46. def typeNames: List[TypeName]

  47. lazy val typeOf: Map[Name, String]

    String representations of same.

  48. lazy val typesOfDefinedTerms: Map[Name, Type]

  49. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  52. def withOriginalLine(s: String): Request.this.type

Inherited from AnyRef

Inherited from Any