module Synopsis.Formatters.TOC
class TOC
Maintains a dictionary of all declarations which can be looked up to create cross references. Names are fully scoped.
TOC-inheritance
-Private Class attributes
source code
-Classes
class Entry
references
source code

-

Struct for an entry in the table of contents. Vars: link, lang, type (all strings) Also: name (scoped)
-Attributes
source code
source code
source code
-Methods
  __init__(self, linker, verbose = False)
references
source code
linker is an instance that implements the Linker interface and is used to generate the links from declarations.
  keys(self)
references
source code
  lookup(self, name)
references
source code
  size(self)
references
source code
  insert(self, entry)
references
source code
  store(self, file)
references
source code
store the table of contents into a file, such that it can be used later when cross referencing
  load(self, resource)
references
source code
  visit_declaration(self, decl)
references
source code