Handbook
Glossary
remember-definition ( definition loc -- )
Factor handbook
»
The implementation
»
Definitions
»
Compilation units
»
Compilation units internals
Prev:
compile ( words -- )
Next:
remember-class ( class loc -- )
Vocabulary
compiler
.
units
Inputs
definition
a definition specifier
loc
a
{ path line# }
pair
Outputs
None
Word description
Saves the location of a definition and associates this definition with the current source file.
Definition
USING:
compiler.units.private
namespaces
sequences
;
IN:
compiler.units
:
remember-definition
( definition loc -- )
new-definitions
get
first
(remember-definition)
;