Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ UilDmpSym(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 UilDumpSymbolTable(Xm)         6 January 1993         UilDumpSymbolTable(Xm)


 Name

    UilDumpSymbolTable - dumps the contents of a named UIL symbol table to
    standard output

 Syntax


    #include <uil/UilDef.h>

    void UilDumpSymbolTable (root_ptr)
    sym_entry_type *root_ptr;


 Description

    The UilDumpSymbolTable function dumps the contents of a UIL symbol table
    pointer to standard output.

    rootptr
            Specifies a pointer to the the symbol table root entry.  This
            value can be taken from the parsetreeroot member of the
            Uilcompiledesctype 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.position
       modification.record

    where:

    hex.address
            Specifies the hexadecimal address of this entry in the symbol
            table.

    symbol.type
            Specifies the type of this symbol table entry. Some possible
            types are root, module, value, procedure, and widget.

    symbol.data
            Specifies data for the symbol table entry. The data varies with
            the type of the entry. Often it contains pointers to other symbol
            table entries, or the actual data for the data type.

    prev.source.position
            Specifies the end point in the source code for the previous
            source item.

    source.position
            Specifies the range of positions in the source code for this sym-
            bol.

    The exact data structures for each symbol type are defined in the include
    file UilSymDef.h.  Note that this file is automatically included when an
    application includes the file UilDef.h.

 See also

    Uil(Xm)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026