Class References::Reference

A reference to another entity in the program.

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getName

Get the name of this reference.

getTarget

Get the target of this reference.

getUppercaseName

Get the name of this reference, in upper case.

Inherited predicates

getASuccessor

Get any possible successor in the progam’s control flow.

from AstNode
getEnclosingText

Get the unit containing this element.

from AstNode
getEnclosingUnit

Get the unit containing this element.

from AstNode
getLocation

Get this element’s location.

from Locatable
getNumLines

Get the number of lines covered by this element.

from Locatable
getParentfrom Reference_
hasAncestor

Does this AstNode have ‘other’ as a ancestor?

from AstNode
hasDescendant

Does this AstNode have ‘other’ as a descendant?

from AstNode
toStringfrom Reference_