reportModule

scala.quoted.Quotes.reflectModule.reportModule
trait reportModule

Methods of the module object val report

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
report.type

Members list

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
Quotes.scala

Deprecated methods

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

Attributes

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

Attributes

Deprecated
true
Source
Quotes.scala
def throwError(msg: String, pos: Position): Nothing

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

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

Attributes

Deprecated
true
Source
Quotes.scala