source-file
Factor handbook » The implementation » Source files

Prev:source-files
Next:record-checksum ( lines source-file -- )


Vocabulary
source-files

Class description
Instances retain information about loaded source files, and have the following slots:
patha pathname string.
top-level-form - a quotation composed of any code not used to define new words and classes
checksumthe CRC32 checksum of the source file's contents at the time it was most recently loaded.
definitionsa pair of assocs, containing definitions and classes defined in this source file, respectively
maina word that gets called if you run the vocabulary


Definition


TUPLE: source-file
{ path string initial: "" } top-level-form checksum
definitions main ;


Methods