oxygen.meta.Meta.Tree.Statement.Term.Ref
See theRef companion trait
object Ref
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
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 a local definition foo, returns a tree representing foo.
Attributes
- Note
-
In both 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.foooutside the class body ofC, or havefoooutside the lexical scope for the definition offoo.
In this article