Packages

object TyperErrorGen

Source
ContextErrors.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TyperErrorGen
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

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

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  4. def AbstractExistentiallyOverParamerizedTpeError(tree: Global.Tree, tp: Global.Type): Unit
  5. def AbstractionFromVolatileTypeError(vd: Global.ValDef): Unit
  6. def AdaptTypeError(tree: Global.Tree, found: Global.Type, req: Global.Type): Unit
  7. def AmbiguousIdentError(tree: Global.Tree, name: Global.Name, msg: String): Analyzer.NormalTypeError
  8. def AmbiguousParentClassError(tree: Global.Tree): Unit
  9. def AnnotationArgNullError(tree: Global.Tree): Analyzer.NormalTypeError
  10. def AnnotationMissingArgError(tree: Global.Tree, annType: Global.Type, sym: Global.Symbol): Analyzer.NormalTypeError
  11. def AnnotationNotAConstantError(tree: Global.Tree): Analyzer.NormalTypeError
  12. def AnnotationTypeMismatchError(tree: Global.Tree, expected: Global.Type, found: Global.Type): Analyzer.NormalTypeError
  13. def AppliedTypeNoParametersError(tree: Global.Tree, errTpe: Global.Type): Global.Tree
  14. def AppliedTypeWrongNumberOfArgsError(tree: Global.Tree, tpt: Global.Tree, tparams: List[Global.Symbol]): Global.Tree
  15. def ApplyWithoutArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
  16. def ArrayConstantsError(tree: Global.Tree): Analyzer.NormalTypeError
  17. def ArrayConstantsTypeMismatchError(tree: Global.Tree, pt: Global.Type): Analyzer.NormalTypeError
  18. def AssignmentError(tree: Global.Tree, varSym: Global.Symbol): Global.Tree
  19. def BlackboxExtractorExpansion(fun: Global.Tree): Analyzer.NormalTypeError
  20. def CaseClassConstructorError(tree: Global.Tree, baseMessage: String): Global.Tree
  21. def ClassTypeRequiredError(tree: Global.Tree, found: AnyRef): Global.Tree
  22. def ClassfileAnnotationsAsNamedArgsError(tree: Global.Tree): Analyzer.NormalTypeError
  23. def ConstrArgsInParentOfTraitError(arg: Global.Tree, parent: Global.Symbol): Unit
  24. def ConstrArgsInParentWhichIsTraitError(arg: Global.Tree, parent: Global.Symbol): Unit
  25. def ConstructorPrefixError(tree: Global.Tree, restpe: Global.Type): Global.Tree
  26. def ConstructorsOrderError(tree: Global.Tree): Global.Tree
  27. def CyclicAliasingOrSubtypingError(errPos: Global.Position, sym0: Global.Symbol): Unit
  28. def CyclicReferenceError(errPos: Global.Position, tp: Global.Type, lockedSym: Global.Symbol): Unit
  29. def DefDefinedTwiceError(sym0: Global.Symbol, sym1: Global.Symbol): Unit
  30. def DependentMethodTpeConversionToFunctionError(tree: Global.Tree, tp: Global.Type): Unit
  31. def DeprecatedParamNameError(param: Global.Symbol, name: Global.Name): Unit
  32. def DoesNotConformToSelfTypeError(tree: Global.Tree, sym: Global.Symbol, tpe0: Global.Type): Global.Tree
  33. def DuplicateValueAnnotationError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
  34. def DynamicRewriteError(tree: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree
  35. def DynamicVarArgUnsupported(tree: Global.Tree, name: Global.Name): Unit
  36. def FinitaryError(tparam: Global.Symbol): Unit
  37. def HiddenSymbolWithError[T <: Global.Tree](tree: T): T
  38. def InferTypeWithVolatileTypeSelectionError(tree: Global.Tree, pre: Global.Type): Unit
  39. def InvalidConstructorDefError(ddef: Global.Tree): Unit
  40. def IsAbstractError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
  41. def KindArityMismatchError(tree: Global.Tree, pt: Global.Type): Global.Tree
  42. def LocalVarUninitializedError(vdef: Global.Tree): Unit
  43. def LowerBoundError(tree: Global.TypeDef, lowB: Global.Type, highB: Global.Type): Unit
  44. def MacroEtaError(tree: Global.Tree): Global.Tree
  45. def MacroExpansionHasInvalidTypeError(expandee: Global.Tree, expanded: Any): Nothing
  46. def MacroFreeSymbolError(expandee: Global.Tree, sym: Global.FreeSymbol): Nothing
  47. def MacroGeneratedAbort(expandee: Global.Tree, ex: AbortMacroException): Nothing
  48. def MacroGeneratedException(expandee: Global.Tree, ex: Throwable): Nothing
  49. def MacroGeneratedTypeError(expandee: Global.Tree, err: Global.TypeError = null): Nothing
  50. def MacroImplementationNotFoundError(expandee: Global.Tree): Nothing
  51. def MacroTooFewArgumentListsError(expandee: Global.Tree): Nothing
  52. def MacroTooFewArgumentsError(expandee: Global.Tree): Nothing
  53. def MacroTooManyArgumentListsError(expandee: Global.Tree): Nothing
  54. def MacroTooManyArgumentListsError(expandee: Global.Tree, fun: Global.Symbol): Analyzer.NormalTypeError
  55. def MacroTooManyArgumentsError(expandee: Global.Tree): Nothing
  56. def MaxFunctionArityError(fun: Global.Tree): Global.Tree
  57. def MissingArgsForMethodTpeError(tree: Global.Tree, meth: Global.Symbol): Global.Tree
  58. def MissingClassTagError(tree: Global.Tree, tp: Global.Type): Global.Tree
  59. def MissingParameterTypeAnonMatchError(vparam: Global.Tree, pt: Global.Type): Unit
  60. def MissingParameterTypeError(fun: Global.Tree, vparam: Global.ValDef, pt: Global.Type, withTupleAddendum: Boolean): Unit
  61. def MissingTypeArgumentsParentTpeError(supertpt: Global.Tree): Unit
  62. def MissingTypeParametersError(tree: Global.Tree): Global.Tree
  63. def MixinMissingParentClassNameError(tree: Global.Tree, mix: Global.Name, clazz: Global.Symbol): Unit
  64. def ModuleUsingCompanionClassDefaultArgsErrror(tree: Global.Tree): Analyzer.NormalTypeError
  65. def MultipleArgumentListForAnnotationError(tree: Global.Tree): Analyzer.NormalTypeError
  66. def MultipleVarargError(tree: Global.Tree): Analyzer.NormalTypeError
  67. def NamedAndDefaultArgumentsNotSupportedForMacros(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
  68. def NestedAnnotationError(tree: Global.Tree, annType: Global.Type): Analyzer.NormalTypeError
  69. def NotAMemberError(sel: Global.Tree, qual: Global.Tree, name: Global.Name): Unit
  70. def NotAValueError(tree: Global.Tree, sym: Global.Symbol): Global.Tree
  71. def NotEnoughArgsError(tree: Global.Tree, fun: Global.Tree, missing: List[Global.Symbol]): Analyzer.NormalTypeError
  72. def OnlyDeclarationsError(tree: Global.Tree): Global.Tree
  73. def OverloadedUnapplyError(tree: Global.Tree): Unit
  74. def ParentFinalInheritanceError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
  75. def ParentInheritedTwiceError(parent: Global.Tree, parentSym: Global.Symbol): Analyzer.NormalTypeError
  76. def ParentNotATraitMixinError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError
  77. def ParentSealedInheritanceError(parent: Global.Tree, psym: Global.Symbol): Analyzer.NormalTypeError
  78. def ParentSelfTypeConformanceError(parent: Global.Tree, selfType: Global.Type): Analyzer.NormalTypeError
  79. def ParentSuperSubclassError(parent: Global.Tree, superclazz: Global.Symbol, parentSym: Global.Symbol, mixin: Global.Symbol): Analyzer.NormalTypeError
  80. def ParentTypesError(templ: Global.Template, ex: Global.TypeError): Global.Template
  81. def PatternMustBeValue(pat: Global.Tree, pt: Global.Type): Unit
  82. def QualifyingClassError(tree: Global.Tree, qual: Global.Name): Global.Tree
  83. def ReturnOutsideOfDefError(tree: Global.Tree): Global.Tree
  84. def ReturnWithoutTypeError(tree: Global.Tree, owner: Global.Symbol): Global.Tree
  85. def SelectWithUnderlyingError(sel: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree
  86. def SelfConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
  87. def StarParamNotLastError(param: Global.Tree): Unit
  88. def StarPatternWithVarargParametersError(tree: Global.Tree): Unit
  89. def StarPositionInPatternError(tree: Global.Tree): Unit
  90. def StarWithDefaultError(meth: Global.Symbol): Unit
  91. def SuperConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
  92. def SuperConstrReferenceError(tree: Global.Tree): Analyzer.NormalTypeError
  93. def SymbolEscapesScopeError[T <: Global.Tree](tree: T, badSymbol: Global.Symbol): T
  94. def SymbolNotFoundError(tree: Global.Tree, name: Global.Name, owner: Global.Symbol, startingIdentCx: Analyzer.Context): Analyzer.NormalTypeError
  95. def TooManyArgsNamesDefaultsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
  96. def TooManyArgsPatternError(fun: Global.Tree): Analyzer.NormalTypeError
  97. def TooManyArgumentListsForConstructor(tree: Global.Tree): Global.Tree
  98. def TypeNotAStablePrefixError(tpt: Global.Tree, pre: Global.Type): Global.Tree
  99. def TypeSelectionFromVolatileTypeError(tree: Global.Tree, qual: Global.Tree): Global.Tree
  100. def TypedApplyDoesNotTakeTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
  101. def TypedApplyWrongNumberOfTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree
  102. def UnapplyWithSingleArgError(tree: Global.Tree): Unit
  103. def UnderscoreEtaError(tree: Global.Tree): Global.Tree
  104. def UnexpectedTreeAnnotationError(tree: Global.Tree, unexpected: Global.Tree): Analyzer.NormalTypeError
  105. def UnexpectedTreeAssignmentConversionError(tree: Global.Tree): Global.Tree
  106. def UnknownAnnotationNameError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError
  107. def UnstableTreeError(tree: Global.Tree): Global.Tree
  108. def VariableInPatternAlternativeError(tree: Global.Tree): Unit
  109. def VolatileValueError(vdef: Global.Tree): Unit
  110. def WithFilterError(tree: Global.Tree, ex: Analyzer.AbsTypeError): Global.Tree
  111. def WrongNumberOfArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError
  112. def WrongNumberOfParametersError(tree: Global.Tree, argpts: List[Global.Type]): Global.Tree
  113. def WrongShapeExtractorExpansion(fun: Global.Tree): Analyzer.NormalTypeError
  114. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown

    ClassCastException if the receiver object is not an instance of the erasure of type T0.

  115. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
    Note

    not specified by SLS as a member of AnyRef

  116. implicit val contextTyperErrorGen: Analyzer.Context
  117. final def eq(arg0: AnyRef): Boolean

    Tests whether the argument (that) is a reference to the receiver object (this).

    Tests whether the argument (that) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

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

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

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

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
    Note

    not specified by SLS as a member of AnyRef

  120. final def getClass(): Class[_]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

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

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

    Definition Classes
    AnyRef → Any
  122. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  123. def macroExpansionError(expandee: Global.Tree, msg: String, pos: Global.Position = NoPosition): Nothing
    Attributes
    protected
  124. final def ne(arg0: AnyRef): Boolean

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

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

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  126. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  127. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  128. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyRef → Any
  129. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  130. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  131. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  132. object MacroExpansionException extends Exception with ControlThrowable with Product with Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped