Definition cross referencing - Factor Documentation (original) (raw)

Definition cross referencing
Factor handbook » Developer tools

Prev: Printing definitions
Next: Vocabulary hierarchy tools

Definitions can answer a sequence of definitions they directly depend on:
uses ( defspec -- seq )

An inverted index of the above:

get-crossref ( -- crossref )

Words to access it:

usage ( defspec -- seq )

smart-usage ( defspec -- seq )

Tools for interactive use:

usage. ( word -- )

vocab-uses. ( vocab -- )
vocab-usage. ( vocab -- )

See also
Definitions, Words, Printing definitions