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

NextPrevUpTopContentsIndex

find-name-locations

Function
Summary

Returns the locations of the definitions of a name.

Package

dspec

Signature

find-name-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 find-name-locations returns the locations of the relevant definitions for name in the classes listed 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.

The location information is collected from all finders on *active-finders*, that is, the relevant definitions are those known to at least one of these finders.

If two or more finders return the same pair (recorded-dspec location), as compared by dspec-equal and location equality, then only the first occurrence of the pair (in the order of *active-finders*) appears in locations.

See also

*active-finders*
name-definition-locations
dspec-equal


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex