Manual Page Result
0
Command: UilDumpSymbolTable | Section: 3 | Source: Digital UNIX | File: UilDumpSymbolTable.3X.gz
UilDumpSymbolTable(3X) UilDumpSymbolTable(3X)
NAME
UilDumpSymbolTable - Dumps the contents of a named UIL symbol table to
standard output
SYNOPSIS
#include <uil/UilDef.h>
void UilDumpSymbolTable (root_ptr)
sym_entry_type *root_ptr;
DESCRIPTION
The UilDumpSymbolTable function dumps the contents of a UIL symbol ta-
ble pointer to standard output. Specifies a pointer to the symbol ta-
ble root entry. This value can be taken from the parse_tree_root part
of the Uil_compile_desc_type data structure returned by Uil.
By following the link from the root entry, you can traverse the entire
parse tree. Symbol table entries are in the following format:
hex.address symbol.type symbol.data prev.source.position source.posi-
tion modification.record
where: Specifies the hexadecimal address of this entry in the symbol
table. Specifies the type of this symbol table entry. Some possible
types are root, module, value, procedure, and widget. Specifies data
for the symbol table entry. The data varies with the type of the en-
try. Often it contains pointers to other symbol table entries, or the
actual data for the data type. Specifies the end point in the source
code for the previous source item. Specifies the range of positions in
the source code for this symbol.
The exact data structures for each symbol type are defined in the in-
clude file <UilSymDef.h>. Note that this file is automatically included
when an application includes the file <UilDef.h>.
SEE ALSO
Uil(3X)
UilDumpSymbolTable(3X)