usage ( defspec -- seq ) (original) (raw)

usage ( defspec -- seq )
Factor handbook » Developer tools » Definition cross referencing

Prev: get-crossref ( -- crossref )
Next: smart-usage ( defspec -- seq )

Vocabulary
tools.crossref

Inputs

defspec a definition specifier

Outputs

seq a sequence of definition specifiers

Word description
Outputs a sequence of definitions that directly call the given definition.

Notes
The sequence might include the definition itself, if it is a recursive word.

See also
usage.

Definition

USING: assocs sets tools.crossref.private ;

IN: tools.crossref

: usage ( defspec -- seq ) get-crossref at members ;