Returns the locations of the known definitions.
dspec
dspec-definition-locations dspec => locations
dspec⇩ |
A dspec. |
locations⇩ |
A list of pairs (recorded-dspec location). |
The function dspec-definition-locations
returns the locations of the definitions recorded for the dspec dspec.
For each known definition recorded-dspec names the definition that defined dspec in location, and location is a pathname or keyword as described in at-location.
Note that non-file locations, such as :unknown
, can occur in the list. The locations in locations are all basic locations: that is, there are no (:inside ...)
locations.
If dspec is a local dspec, the parent function is located.
CL-USER 6 > (dspec:dspec-definition-locations '(defun foo-bar)) (((DEFSTRUCT FOO) #P"C:/temp/hack.lisp"))
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33