target method
Interprets a resolved target in its source context.
Implementation
LocatedNode target(ReferenceTarget target) => LocatedNode(
DocumentNode(node.kind, target.value, target.location.pointer),
target.location.documentUri,
target.family ?? family,
dialect: target.dialect,
);