scala.tools.nsc.typechecker.Contexts

Context

class Context extends AnyRef

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

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. def ambiguousError(pos: Position, pre: Type, sym1: Symbol, sym2: Symbol, rest: String): Unit

    pos

    ...

    pre

    ...

    sym1

    ...

    sym2

    ...

    rest

    ...

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. var checking: Boolean

  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. var depth: Int

  11. var diagnostic: List[String]

  12. var enclClass: Context

  13. var enclMethod: Context

  14. def enclosingSubClassContext(clazz: Symbol): Context

    Return closest enclosing context that defines a subclass of clazz' or a companion object thereof, or NoContext if no such context exists

  15. def enclosingSuperClassContext(clazz: Symbol): Context

    Return closest enclosing context that defines a superclass of clazz', or a companion module of a superclass of clazz', or NoContext if none exists

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

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

    Definition Classes
    AnyRef → Any
  18. def error(pos: Position, msg: String): Unit

  19. def error(pos: Position, err: Throwable): Unit

  20. def extractUndetparams(): List[Symbol]

  21. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. final def getClass(): java.lang.Class[_]

    Definition Classes
    AnyRef → Any
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. var implicitsEnabled: Boolean

  25. def implicitss: List[List[ImplicitInfo]]

  26. var imports: List[ImportInfo]

  27. var inConstructorSuffix: Boolean

  28. var inSelfSuperCall: Boolean

  29. def isAccessible(sym: Symbol, pre: Type, superAccess: Boolean = false): Boolean

    Is sym accessible as a member of tree site' with type pre in current context?

    Is sym accessible as a member of tree site' with type pre in current context?

    sym

    ...

    pre

    ...

    superAccess

    ...

    returns

    ...

  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. def isLocal(): Boolean

  32. def isSubClassOrCompanion(sub: Symbol, base: Symbol): Boolean

    Is sub' a subclass of base' or a companion object of such a subclass?

  33. def lookup(name: Name, expectedOwner: Symbol): Symbol

    Find a symbol in this context or one of its outers.

    Find a symbol in this context or one of its outers.

    Used to find symbols are owned by methods (or fields), they can't be found in some scope.

    Examples: companion module of classes owned by a method, default getter methods of nested methods. See NamesDefaults.scala

  34. def make(tree: Tree): Context

  35. def make(tree: Tree, owner: Symbol): Context

  36. def make(tree: Tree, owner: Symbol, scope: Scope): Context

  37. def make(unit: CompilationUnit): Context

  38. def make(unit: CompilationUnit, tree: Tree, owner: Symbol, scope: Scope, imports: List[ImportInfo]): Context

    unit

    ...

    tree

    ...

    owner

    ...

    scope

    ...

    imports

    ...

    returns

    ...

  39. def makeConstructorContext: Context

  40. def makeImplicit(reportAmbiguousErrors: Boolean): Context

  41. def makeNewImport(imp: Import): Context

  42. def makeNewScope(tree: Tree, owner: Symbol): Context

  43. def makeSilent(reportAmbiguousErrors: Boolean, newtree: Tree = tree): Context

  44. var namedApplyBlockInfo: Option[(Tree, NamedApplyInfo)]

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

    Definition Classes
    AnyRef
  46. def nextEnclosing(p: (Context) ⇒ Boolean): Context

  47. final def notify(): Unit

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

    Definition Classes
    AnyRef
  49. var openImplicits: List[(Type, Symbol)]

  50. var outer: Context

  51. var owner: Symbol

  52. var prefix: Type

  53. def pushTypeBounds(sym: Symbol): Unit

  54. var reportAmbiguousErrors: Boolean

  55. var reportGeneralErrors: Boolean

  56. def resetCache(): Unit

  57. def restoreTypeBounds(tp: Type): Type

  58. var returnsSeen: Boolean

  59. var retyping: Boolean

  60. var savedTypeBounds: List[(Symbol, Type)]

  61. var scope: Scope

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

    Definition Classes
    AnyRef
  63. def toString(): String

    Definition Classes
    Context → AnyRef → Any
  64. var tree: Tree

  65. def typingIndent: String

  66. var typingIndentLevel: Int

  67. def undetparams: List[Symbol]

  68. def undetparamsString: String

  69. def undetparams_=(ps: List[Symbol]): Unit

  70. var unit: CompilationUnit

  71. var variance: Int

  72. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  75. def warning(pos: Position, msg: String): Unit

  76. def withImplicitsDisabled[T](op: ⇒ T): T

  77. def withoutReportingErrors[T](op: ⇒ T): T

Inherited from AnyRef

Inherited from Any