public class Ref
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Ref(java.lang.String name)
External constructor.
|
public Ref(java.lang.String name)
public final java.lang.String getId()
public final Node getNode()
public final Decl.Proxy getProxy()
public final java.lang.String getScope()
public final boolean isGlobal()
public Unit resolve(Unit uspec, boolean local)
uspec - the module or interface making this reference.local - if true, the reference is to a decl within the same unit
making the reference. The text of the reference excludes
the name of the unit.SessionRuntimeException - if can't be resolved.