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 Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex