Printing definitions - Factor Documentation (original) (raw)

Printing definitions
Factor handbook » Developer tools

Prev: Deprecation tracking
Next: Definition cross referencing

The see vocabulary implements support for printing out Definitions in the image.

Printing a definition:

see ( defspec -- )

Printing the methods defined on a generic word or class (see Objects):

see-methods ( word -- )

Definition specifiers implementing the Definition protocol should also implement the see protocol:

see* ( defspec -- )

synopsis* ( defspec -- )