Synopsis - Synopsis.Formatters.TOC.TOC

module Synopsis.Formatters.TOC
class TOC
File: ../Synopsis/Formatters/TOC.py
Maintains a dictionary of all declarations which can be looked up to create cross references. Names are fully scoped.
Private Class attributes Summary:
__getitem__
Classes Summary:
class Entry
Struct for an entry in the table of contents.
Attributes Summary:
__toc
linker
verbose
Methods Summary:
__init__(self, linker, verbose = False)
linker is an instance that implements the Linker interface and is used to generate the links from declarations.
keys(self)
lookup(self, name)
size(self)
insert(self, entry)
store(self, file)
load(self, resource)
visit_declaration(self, decl)
Classes Details:
class Entry
Struct for an entry in the table of contents. Vars: link, lang, type (all strings) Also: name (scoped)
Methods Details:
__init__(self, linker, verbose = False)
linker is an instance that implements the Linker interface and is used to generate the links from declarations.
store(self, file)
store the table of contents into a file, such that it can be used later when cross referencing
Generated on Thu Apr 16 16:26:57 2009 by
synopsis (version devel)