LispWorks User Guide and Reference Manual > 30 The DSPEC Package

NextPrevUpTopContentsIndex

dspec-definition-locations

Function
Summary

Returns the locations of the known definitions.

Package

dspec

Signature

dspec-definition-locations dspec => locations

Arguments

dspec

A dspec.

Values

locations

A list of pairs ( recorded-dspec location ).

Description

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.

Example
CL-USER 6 > (dspec:dspec-definition-locations
             '(defun foo-bar))
(((DEFSTRUCT FOO) #P"C:/temp/hack.lisp"))
See also

name-definition-locations


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex