scala.quoted.Quotes.reflectModule.RefModule
Methods of the module object val Ref
Create a reference tree from a symbol
Create a reference tree from a symbol
If sym
refers to a class member foo
in class C
, returns a tree representing C.this.foo
.
If sym
refers to an object member foo
in object C, itself in prefix pre
(which might include .this
, if it contains a class), returns pre.C.foo
.
If sym
refers to a local definition foo
, returns a tree representing foo
.
In all cases, the constructed tree should only be spliced into the places where such accesses make sense. For example, it is incorrect to have C.this.foo
outside the class body of C
, or have foo
outside the lexical scope for the definition of foo
.
A tree representing the same reference as the given type
A tree representing the same reference as the given type
AttributesRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4