dotty.tools.dotc.reporting.diagnostic

NoExplanation

Related Docs: object NoExplanation | package diagnostic

class NoExplanation extends Message

The fallback Message containing no explanation and having no kind

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NoExplanation
  2. Message
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NoExplanation(msg: String)

Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def deprecationWarning(pos: SourcePosition): DeprecationWarning

    Enclose this message in an DeprecationWarning container

    Enclose this message in an DeprecationWarning container

    Definition Classes
    Message
  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def error(pos: SourcePosition): Error

    Enclose this message in an Error container

    Enclose this message in an Error container

    Definition Classes
    Message
  10. val errorId: Int

    a unique number identifying the message, this will later be used to reference documentation online

    a unique number identifying the message, this will later be used to reference documentation online

    Definition Classes
    Message
  11. val explanation: String

    The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.

    The explanation should provide a detailed description of why the error occurred and use examples from the user's own code to illustrate how to avoid these errors.

    Definition Classes
    NoExplanationMessage
  12. def featureWarning(pos: SourcePosition): FeatureWarning

    Enclose this message in an FeatureWarning container

    Enclose this message in an FeatureWarning container

    Definition Classes
    Message
  13. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  16. def info(pos: SourcePosition): Info

    Enclose this message in an Info container

    Enclose this message in an Info container

    Definition Classes
    Message
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val kind: String

    The kind of the error message is something like "Syntax" or "Type Mismatch"

    The kind of the error message is something like "Syntax" or "Type Mismatch"

    Definition Classes
    NoExplanationMessage
  19. def mapMsg(f: (String) ⇒ String): Message { ... /* 3 definitions in type refinement */ }

    It is possible to map msg to add details, this is at the loss of precision since the type of the resulting Message won't be original extending class

    It is possible to map msg to add details, this is at the loss of precision since the type of the resulting Message won't be original extending class

    returns

    a Message with the mapped message

    Definition Classes
    Message
  20. def migrationWarning(pos: SourcePosition): MigrationWarning

    Enclose this message in an MigrationWarning container

    Enclose this message in an MigrationWarning container

    Definition Classes
    Message
  21. val msg: String

    The msg contains the diagnostic message e.g:

    The msg contains the diagnostic message e.g:

    > expected: String > found: Int

    This message wil be placed underneath the position given by the enclosing MessageContainer

    Definition Classes
    NoExplanationMessage
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    AnyRef → Any
  27. def uncheckedWarning(pos: SourcePosition): UncheckedWarning

    Enclose this message in an UncheckedWarning container

    Enclose this message in an UncheckedWarning container

    Definition Classes
    Message
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def warning(pos: SourcePosition): Warning

    Enclose this message in an Warning container

    Enclose this message in an Warning container

    Definition Classes
    Message

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped