All Manuals > LispWorks® User Guide and Reference Manual > 35 The DSPEC Package

name-definition-locations Function

Summary

Returns the locations of the known definitions.

Package

dspec

Signature

name-definition-locations classes name => locations

Arguments
classes
A list of dspec class names.
name
A name.
Values
locations
A list of pairs (recorded-dspec location).
Description

The function name-definition-locations returns the locations of the definitions recorded for the name name in any of the dspec classes in classes.

For each known definition recorded-dspec names the definition that defined name in location, and location is a pathname or keyword as described in at-location.

Notes

name-definition-locations does not use *active-finders*.

Examples
CL-USER 7 > (dspec:name-definition-locations
             '(function) 'foo-bar)
(((DEFSTRUCT FOO) #P"C:/temp/hack.lisp"))
See also

dspec-definition-locations


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:33