Package envi :: Module resolver :: Class FileSymbol
[hide private]
[frames] | no frames]

Class FileSymbol

source code

        Symbol --+
                 |
SymbolResolver --+
                 |
                FileSymbol

A file symbol is both a symbol resolver of it's own, and a symbol.

File symbols are used to do heirarchal symbol lookups and don't actually add anything but the name to their lookup (it is assumed that the parent Resolver of the FileSymbol takes care of addr lookups.

Instance Methods [hide private]
 
__init__(self, fname, base, size, width=4) source code
 
__getattr__(self, name)
File symbols may be dereferenced like python objects to resolve symbols within them.
source code
 
__getitem__(self, name)
Allow dictionary style access for mangled incompatible names...
source code

Inherited from Symbol: __coerce__, __eq__, __hash__, __int__, __len__, __long__, __repr__, __str__

Inherited from SymbolResolver: addSymbol, delSymbol, getSymByAddr, getSymByName, getSymHint, getSymList

Method Details [hide private]

__init__(self, fname, base, size, width=4)
(Constructor)

source code 
Overrides: SymbolResolver.__init__