Macros

reactives.macros.Sourcecode.Macros
object Macros

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Macros.type

Members list

Type members

Classlikes

object Chunk

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Chunk.type
sealed trait Chunk

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ClsTrt
class PkgObj
class ValVarLzyDef

Value members

Concrete methods

def actualOwner(using Quotes)(owner: x$1.reflect.Symbol): x$1.reflect.Symbol
def enclosing(using quotes: Quotes)(machine: Boolean)(filter: quotes.reflect.Symbol => Boolean): String
def enclosingImpl(using Quotes): Expr[Enclosing]
def fileImpl(using Quotes): Expr[File]
def findOwner(using Quotes)(owner: x$1.reflect.Symbol, skipIf: x$1.reflect.Symbol => Boolean): x$1.reflect.Symbol
def lineImpl(using Quotes): Expr[Line]
def nonMacroOwner(using Quotes)(owner: x$1.reflect.Symbol): x$1.reflect.Symbol

In Scala 3, macro mcr() is expanded to:

In Scala 3, macro mcr() is expanded to:

val macro = ... macro

Where n is an ordinal. This method returns the first owner that is not such a synthetic variable.

Attributes