reportModule

Methods of the module object val report

class Object
trait Matchable
class Any

Value members

Abstract methods

def error(msg: String): Unit

Report an error at the position of the macro expansion

def error(msg: String, expr: Expr[Any]): Unit

Report an error at the position of expr

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

Report an error message at the given position

def throwError(msg: String): Nothing

Report an error at the position of the macro expansion and throws a StopMacroExpansion

def throwError(msg: String, expr: Expr[Any]): Nothing

Report an error at the position of expr

def throwError(msg: String, pos: Position): Nothing

Report an error message at the given position and throws a StopMacroExpansion

def warning(msg: String): Unit

Report a warning at the position of the macro expansion

def warning(msg: String, expr: Expr[Any]): Unit

Report a warning at the on the position of expr

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

Report an warning message at the given position