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

Next:get-crossref ( -- crossref )


Vocabulary
tools.crossref

Inputs
defspeca definition specifier


Outputs
seqa sequence of definition specifiers


Word description
Outputs a sequence of definitions called by the given definition.

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

Examples
We can ask the sq word to produce a list of words it calls:
\ sq uses .
{ dup * }


Definition

GENERIC: uses ( defspec -- seq )


Methods