Ref
extends Object with SerializableSupertypes
Object, SerializableMembers
def
apply
( sym: Symbol ) ( implicit ctx: Context ) : RefCreate 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 de...
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
.