Reporter

amyc.utils.Reporter
class Reporter

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def error(msg: Any, pos: Position): Unit

Issues a recoverable error message

Issues a recoverable error message

Attributes

def error(msg: Any, pos: Positioned): Unit
def fatal[A](msg: Any, pos: Position): A

Used for an unrecoverable error: Issues a message, then exits the compiler

Used for an unrecoverable error: Issues a message, then exits the compiler

Attributes

def fatal[A](msg: Any, pos: Positioned): A
def info(msg: Any, pos: Position): Unit

Issues some information from the compiler

Issues some information from the compiler

Attributes

def info(msg: Any, pos: Positioned): Unit
def terminateIfErrors()(using Context): Unit

Terminates the compiler if any errors have been detected.

Terminates the compiler if any errors have been detected.

Attributes

def warning(msg: Any, pos: Position): Unit

Issues a warning from the compiler

Issues a warning from the compiler

Attributes

def warning(msg: Any, pos: Positioned): Unit