1UilDumpSymbolTable(library call) UilDumpSymbolTable(library call)
2
3
4
6 UilDumpSymbolTable — Dumps the contents of a named UIL symbol table to
7 standard output
8
10 #include <uil/UilDef.h>
11
12 void UilDumpSymbolTable(
13 sym_entry_type *root_ptr);
14
16 The UilDumpSymbolTable function dumps the contents of a UIL symbol ta‐
17 ble pointer to standard output.
18
19 root_ptr Specifies a pointer to the the symbol table root entry. This
20 value can be taken from the parse_tree_root part of the
21 Uil_compile_desc_type data structure returned by Uil.
22
23 By following the link from the root entry, you can traverse the entire
24 parse tree. Symbol table entries are in the following format:
25
26 hex.address symbol.type symbol.data prev.source.position source.posi‐
27 tion modification.record
28
29 where:
30
31 hex.address
32 Specifies the hexadecimal address of this entry in the symbol
33 table.
34
35 symbol.type
36 Specifies the type of this symbol table entry. Some possible
37 types are root, module, value, procedure, and widget.
38
39 symbol.data
40 Specifies data for the symbol table entry. The data varies
41 with the type of the entry. Often it contains pointers to
42 other symbol table entries, or the actual data for the data
43 type.
44
45 prev.source.position
46 Specifies the end point in the source code for the previous
47 source item.
48
49 source.position
50 Specifies the range of positions in the source code for this
51 symbol.
52
53 The exact data structures for each symbol type are defined in the
54 include file UilSymDef.h. Note that this file is automatically
55 included when an application includes the file UilDef.h.
56
58 Uil(3)
59
60
61
62 UilDumpSymbolTable(library call)