[F] getLocationContext
function getLocationContext(program, type): LocationContext;Identify whether a diagnostic target comes from the project, a library, or a synthetic location.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
type | DiagnosticTarget |