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