Object

scala.tools.nsc.typechecker.ContextErrors.TyperContextErrors

TyperErrorGen

Related Doc: package TyperContextErrors

Permalink

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
  5. def AbstractionFromVolatileTypeError(vd: Global.ValDef): Unit

    Permalink
  6. def AdaptTypeError(tree: Global.Tree, found: Global.Type, req: Global.Type): Unit

    Permalink
  7. def AmbiguousIdentError(tree: Global.Tree, name: Global.Name, msg: String): Analyzer.NormalTypeError

    Permalink
  8. def AmbiguousParentClassError(tree: Global.Tree): Unit

    Permalink
  9. def AnnotationArgNullError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  10. def AnnotationMissingArgError(tree: Global.Tree, annType: Global.Type, sym: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  11. def AnnotationNotAConstantError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  12. def AnnotationTypeMismatchError(tree: Global.Tree, expected: Global.Type, found: Global.Type): Analyzer.NormalTypeError

    Permalink
  13. def AppliedTypeNoParametersError(tree: Global.Tree, errTpe: Global.Type): Global.Tree

    Permalink
  14. def AppliedTypeWrongNumberOfArgsError(tree: Global.Tree, tpt: Global.Tree, tparams: List[Global.Symbol]): Global.Tree

    Permalink
  15. def ApplyWithoutArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  16. def ArrayConstantsError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  17. def ArrayConstantsTypeMismatchError(tree: Global.Tree, pt: Global.Type): Analyzer.NormalTypeError

    Permalink
  18. def AssignmentError(tree: Global.Tree, varSym: Global.Symbol): Global.Tree

    Permalink
  19. def BlackboxExtractorExpansion(fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  20. def CaseClassConstructorError(tree: Global.Tree, baseMessage: String): Global.Tree

    Permalink
  21. def ClassTypeRequiredError(tree: Global.Tree, found: AnyRef): Global.Tree

    Permalink
  22. def ClassfileAnnotationsAsNamedArgsError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  23. def ConstrArgsInParentOfTraitError(arg: Global.Tree, parent: Global.Symbol): Unit

    Permalink
  24. def ConstrArgsInParentWhichIsTraitError(arg: Global.Tree, parent: Global.Symbol): Unit

    Permalink
  25. def ConstructorPrefixError(tree: Global.Tree, restpe: Global.Type): Global.Tree

    Permalink
  26. def ConstructorsOrderError(tree: Global.Tree): Global.Tree

    Permalink
  27. def CyclicAliasingOrSubtypingError(errPos: Global.Position, sym0: Global.Symbol): Unit

    Permalink
  28. def CyclicReferenceError(errPos: Global.Position, tp: Global.Type, lockedSym: Global.Symbol): Unit

    Permalink
  29. def DefDefinedTwiceError(sym0: Global.Symbol, sym1: Global.Symbol): Unit

    Permalink
  30. def DependentMethodTpeConversionToFunctionError(tree: Global.Tree, tp: Global.Type): Unit

    Permalink
  31. def DeprecatedParamNameError(param: Global.Symbol, name: Global.Name): Unit

    Permalink
  32. def DoesNotConformToSelfTypeError(tree: Global.Tree, sym: Global.Symbol, tpe0: Global.Type): Global.Tree

    Permalink
  33. def DuplicateValueAnnotationError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError

    Permalink
  34. def DynamicRewriteError(tree: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree

    Permalink
  35. def DynamicVarArgUnsupported(tree: Global.Tree, name: Global.Name): Unit

    Permalink
  36. def FinitaryError(tparam: Global.Symbol): Unit

    Permalink
  37. def HiddenSymbolWithError[T <: Global.Tree](tree: T): T

    Permalink
  38. def InferTypeWithVolatileTypeSelectionError(tree: Global.Tree, pre: Global.Type): Unit

    Permalink
  39. def InvalidConstructorDefError(ddef: Global.Tree): Unit

    Permalink
  40. def IsAbstractError(tree: Global.Tree, sym: Global.Symbol): Global.Tree

    Permalink
  41. def KindArityMismatchError(tree: Global.Tree, pt: Global.Type): Global.Tree

    Permalink
  42. def LocalVarUninitializedError(vdef: Global.Tree): Unit

    Permalink
  43. def LowerBoundError(tree: Global.TypeDef, lowB: Global.Type, highB: Global.Type): Unit

    Permalink
  44. def MacroEtaError(tree: Global.Tree): Global.Tree

    Permalink
  45. object MacroExpansionException extends Exception with ControlThrowable with Product with Serializable

    Permalink
  46. def MacroExpansionHasInvalidTypeError(expandee: Global.Tree, expanded: Any): Nothing

    Permalink
  47. def MacroFreeSymbolError(expandee: Global.Tree, sym: Global.FreeSymbol): Nothing

    Permalink
  48. def MacroGeneratedAbort(expandee: Global.Tree, ex: AbortMacroException): Nothing

    Permalink
  49. def MacroGeneratedException(expandee: Global.Tree, ex: Throwable): Nothing

    Permalink
  50. def MacroGeneratedTypeError(expandee: Global.Tree, err: Global.TypeError = null): Nothing

    Permalink
  51. def MacroImplementationNotFoundError(expandee: Global.Tree): Nothing

    Permalink
  52. def MacroTooFewArgumentListsError(expandee: Global.Tree): Nothing

    Permalink
  53. def MacroTooFewArgumentsError(expandee: Global.Tree): Nothing

    Permalink
  54. def MacroTooManyArgumentListsError(expandee: Global.Tree): Nothing

    Permalink
  55. def MacroTooManyArgumentListsError(expandee: Global.Tree, fun: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  56. def MacroTooManyArgumentsError(expandee: Global.Tree): Nothing

    Permalink
  57. def MaxFunctionArityError(fun: Global.Tree): Global.Tree

    Permalink
  58. def MissingArgsForMethodTpeError(tree: Global.Tree, meth: Global.Symbol): Global.Tree

    Permalink
  59. def MissingClassTagError(tree: Global.Tree, tp: Global.Type): Global.Tree

    Permalink
  60. def MissingParameterTypeAnonMatchError(vparam: Global.Tree, pt: Global.Type): Unit

    Permalink
  61. def MissingParameterTypeError(fun: Global.Tree, vparam: Global.ValDef, pt: Global.Type, withTupleAddendum: Boolean): Unit

    Permalink
  62. def MissingTypeArgumentsParentTpeError(supertpt: Global.Tree): Unit

    Permalink
  63. def MissingTypeParametersError(tree: Global.Tree): Global.Tree

    Permalink
  64. def MixinMissingParentClassNameError(tree: Global.Tree, mix: Global.Name, clazz: Global.Symbol): Unit

    Permalink
  65. def ModuleUsingCompanionClassDefaultArgsErrror(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  66. def MultipleArgumentListForAnnotationError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  67. def MultipleVarargError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  68. def NamedAndDefaultArgumentsNotSupportedForMacros(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  69. def NestedAnnotationError(tree: Global.Tree, annType: Global.Type): Analyzer.NormalTypeError

    Permalink
  70. def NotAMemberError(sel: Global.Tree, qual: Global.Tree, name: Global.Name): Unit

    Permalink
  71. def NotAValueError(tree: Global.Tree, sym: Global.Symbol): Global.Tree

    Permalink
  72. def NotEnoughArgsError(tree: Global.Tree, fun: Global.Tree, missing: List[Global.Symbol]): Analyzer.NormalTypeError

    Permalink
  73. def OnlyDeclarationsError(tree: Global.Tree): Global.Tree

    Permalink
  74. def OverloadedUnapplyError(tree: Global.Tree): Unit

    Permalink
  75. def ParentFinalInheritanceError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  76. def ParentInheritedTwiceError(parent: Global.Tree, parentSym: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  77. def ParentNotATraitMixinError(parent: Global.Tree, mixin: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  78. def ParentSelfTypeConformanceError(parent: Global.Tree, selfType: Global.Type): Analyzer.NormalTypeError

    Permalink
  79. def ParentSuperSubclassError(parent: Global.Tree, superclazz: Global.Symbol, parentSym: Global.Symbol, mixin: Global.Symbol): Analyzer.NormalTypeError

    Permalink
  80. def ParentTypesError(templ: Global.Template, ex: Global.TypeError): Global.Template

    Permalink
  81. def PatternMustBeValue(pat: Global.Tree, pt: Global.Type): Unit

    Permalink
  82. def QualifyingClassError(tree: Global.Tree, qual: Global.Name): Global.Tree

    Permalink
  83. def ReturnOutsideOfDefError(tree: Global.Tree): Global.Tree

    Permalink
  84. def ReturnWithoutTypeError(tree: Global.Tree, owner: Global.Symbol): Global.Tree

    Permalink
  85. def SelectWithUnderlyingError(sel: Global.Tree, err: Analyzer.AbsTypeError): Global.Tree

    Permalink
  86. def SelfConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  87. def StarParamNotLastError(param: Global.Tree): Unit

    Permalink
  88. def StarPatternWithVarargParametersError(tree: Global.Tree): Unit

    Permalink
  89. def StarPositionInPatternError(tree: Global.Tree): Unit

    Permalink
  90. def StarWithDefaultError(meth: Global.Symbol): Unit

    Permalink
  91. def SuperConstrArgsThisReferenceError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  92. def SuperConstrReferenceError(tree: Global.Tree): Analyzer.NormalTypeError

    Permalink
  93. def SymbolEscapesScopeError[T <: Global.Tree](tree: T, badSymbol: Global.Symbol): T

    Permalink
  94. def SymbolNotFoundError(tree: Global.Tree, name: Global.Name, owner: Global.Symbol, startingIdentCx: Analyzer.Context): Analyzer.NormalTypeError

    Permalink
  95. def TooManyArgsNamesDefaultsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  96. def TooManyArgsPatternError(fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  97. def TooManyArgumentListsForConstructor(tree: Global.Tree): Global.Tree

    Permalink
  98. def TypeNotAStablePrefixError(tpt: Global.Tree, pre: Global.Type): Global.Tree

    Permalink
  99. def TypeSelectionFromVolatileTypeError(tree: Global.Tree, qual: Global.Tree): Global.Tree

    Permalink
  100. def TypedApplyDoesNotTakeTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree

    Permalink
  101. def TypedApplyWrongNumberOfTpeParametersError(tree: Global.Tree, fun: Global.Tree): Global.Tree

    Permalink
  102. def UnapplyWithSingleArgError(tree: Global.Tree): Unit

    Permalink
  103. def UnderscoreEtaError(tree: Global.Tree): Global.Tree

    Permalink
  104. def UnexpectedTreeAnnotationError(tree: Global.Tree, unexpected: Global.Tree): Analyzer.NormalTypeError

    Permalink
  105. def UnexpectedTreeAssignmentConversionError(tree: Global.Tree): Global.Tree

    Permalink
  106. def UnknownAnnotationNameError(tree: Global.Tree, name: Global.Name): Analyzer.NormalTypeError

    Permalink
  107. def UnstableTreeError(tree: Global.Tree): Global.Tree

    Permalink
  108. def VariableInPatternAlternativeError(tree: Global.Tree): Unit

    Permalink
  109. def VolatileValueError(vdef: Global.Tree): Unit

    Permalink
  110. def WithFilterError(tree: Global.Tree, ex: Analyzer.AbsTypeError): Global.Tree

    Permalink
  111. def WrongNumberOfArgsError(tree: Global.Tree, fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  112. def WrongNumberOfParametersError(tree: Global.Tree, argpts: List[Global.Type]): Global.Tree

    Permalink
  113. def WrongShapeExtractorExpansion(fun: Global.Tree): Analyzer.NormalTypeError

    Permalink
  114. final def asInstanceOf[T0]: T0

    Permalink

    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

    Permalink

    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

    Permalink
  117. final def eq(arg0: AnyRef): Boolean

    Permalink

    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

    Permalink

    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

    Permalink

    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[_]

    Permalink

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  121. def hashCode(): Int

    Permalink

    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

    Permalink

    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

    Permalink
    Attributes
    protected
  124. final def ne(arg0: AnyRef): Boolean

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  128. def toString(): String

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped