Reporter

dotty.tools.dotc.transform.init.Semantic.Reporter
See theReporter companion trait
object Reporter

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Reporter.type

Members list

Type members

Classlikes

class BufferedReporter extends Reporter

Attributes

Supertypes
trait Reporter
class Object
trait Matchable
class Any
Known subtypes
class ErrorFound(val error: Error) extends Exception

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class StopEarlyReporter extends Reporter

Attributes

Supertypes
trait Reporter
class Object
trait Matchable
class Any

Attributes

Supertypes
trait TryReporter
trait Reporter
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def errorsIn(fn: Reporter ?=> Unit)(using Data): TryReporter

Capture all errors with a TryReporter

Capture all errors with a TryReporter

The TryReporter cannot be thrown away: either abort must be called or the errors must be reported.

Attributes

def hasErrors(fn: Reporter ?=> Unit)(using Data): Boolean
def stopEarly(fn: Reporter ?=> Unit): List[Error]

Stop on first error

Stop on first error

Attributes