Diagnostic

dotty.tools.dotc.reporting.Diagnostic
See theDiagnostic companion object
class Diagnostic(val msg: Message, val pos: SourcePosition, val level: Int) extends Diagnostic

Attributes

Companion
object
Graph
Supertypes
trait Diagnostic
class Object
trait Matchable
class Any
Known subtypes
class Error
class StickyError
class Info
class Warning
Show all

Members list

Value members

Concrete methods

override def diagnosticRelatedInformation: List[DiagnosticRelatedInformation]

Attributes

Definition Classes
Diagnostic
override def message: String

Attributes

Definition Classes
Diagnostic
override def position: Optional[SourcePosition]

Attributes

Definition Classes
Diagnostic
def setVerbose(): this.type
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

val level: Int
val msg: Message