getSarifLocation

fun Node.getSarifLocation(artifacts: Map<Path, Artifact>?): Location(source)

Returns a Location object from a Node using the given artifacts as well as its sarifRegion.