scala.quoted.Quotes.reflectModule.ThisModule
Methods of the module object val This.
Attributes
- Source
-
Quotes.scala
- Graph
-
- Supertypes
-
- Self type
-
Members list
Creates a C.this for C pointing to cls.
Creates a C.this for C pointing to cls.
Value parameters
- cls
-
the symbol of the enclosing class
Attributes
- Returns
-
a This tree referring to cls
- Source
-
Quotes.scala
Matches this or qual.this and returns the name of qual.
Matches this or qual.this and returns the name of qual.
Value parameters
- x
-
the This to match against
Attributes
- Returns
-
Some(Some(name)) for a qualified qual.this, or Some(None) for an unqualified this
- Source
-
Quotes.scala