getRefs method
Implementation
Set<Reference> getRefs() => {
...document.definitions.map(
(definition) => Reference(
_getName(definition),
url,
),
),
...imports.expand(
(import) => import.getRefs(),
),
};