reportModule

Methods of the module object val report

Source:
Quotes.scala
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

Report an error at the position of the macro expansion

Source:
Quotes.scala
def error(msg: String, expr: Expr[Any]): Unit

Report an error at the position of expr

Report an error at the position of expr

Source:
Quotes.scala
def error(msg: String, pos: Position): Unit

Report an error message at the given position

Report an error message at the given position

Source:
Quotes.scala

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

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

Source:
Quotes.scala
def errorAndAbort(msg: String, expr: Expr[Any]): Nothing

Report an error at the position of expr and throw a StopMacroExpansion

Report an error at the position of expr and throw a StopMacroExpansion

Source:
Quotes.scala

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

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

Source:
Quotes.scala
def info(msg: String): Unit

Report an info at the position of the macro expansion

Report an info at the position of the macro expansion

Source:
Quotes.scala
def info(msg: String, expr: Expr[Any]): Unit

Report an info message at the position of expr

Report an info message at the position of expr

Source:
Quotes.scala
def info(msg: String, pos: Position): Unit

Report an info message at the given position

Report an info message at the given position

Source:
Quotes.scala
def warning(msg: String): Unit

Report a warning at the position of the macro expansion

Report a warning at the position of the macro expansion

Source:
Quotes.scala
def warning(msg: String, expr: Expr[Any]): Unit

Report a warning at the position of expr

Report a warning at the position of expr

Source:
Quotes.scala
def warning(msg: String, pos: Position): Unit

Report a warning message at the given position

Report a warning message at the given position

Source:
Quotes.scala

Deprecated methods

@deprecated("Use errorAndAbort", "3.1.0")

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

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

Deprecated
Source:
Quotes.scala
@deprecated("Use errorAndAbort", "3.1.0")
def throwError(msg: String, expr: Expr[Any]): Nothing

Report an error at the position of expr and throw a StopMacroExpansion

Report an error at the position of expr and throw a StopMacroExpansion

Deprecated
Source:
Quotes.scala
@deprecated("Use errorAndAbort", "3.1.0")

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

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

Deprecated
Source:
Quotes.scala