Go to the previous, next section.

File Symbol Tables

A file symbol table corresponds to the global scope for a source file. It contains procedure symbols and global variable symbols with static linkage, as well as types that are only used within the file. Each file symbol table is associated with a particular file set entry. See section File Set Entries.

The file_symtab class is derived from the global_symtab class to implement the file symbol tables. Besides the features that this class inherits from its base class, it also contains a field to record the file set entry with which it is associated. This field is set automatically when the file symbol table is created by the file set entry. The fse method retrieves the value of this field.

Go to the previous, next section.