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

Class FileSymbol

source code

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
__getstate__(self) source code
__setstate__(self, sdict) source code
__repr__(self) source code
__str__(self) source code
__eq__(self, other) source code
__ne__(self, other) source code
__hash__(self) source code
__nonzero__(self) source code
__unicode__(self) source code

Inherited from Symbol: __coerce__, __int__, __len__, __long__

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

Class Variables [hide private]
  symtype = 3
Method Details [hide private]

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

source code 
Overrides: SymbolResolver.__init__

(Representation operator)

source code 
Overrides: Symbol.__repr__

(Informal representation operator)

source code 
Overrides: Symbol.__str__

__eq__(self, other)
(Equality operator)

source code 
Overrides: Symbol.__eq__

(Hashing function)

source code 
Overrides: Symbol.__hash__