Package analysis :: Package output :: Package generators :: Module C :: Class CGenerator
[show private | hide private]
[frames | no frames]

Class CGenerator

Generator --+    
            |    
 RawGenerator --+
                |
               CGenerator

Known Subclasses:
CodeGenerator, DeclarationsGenerator, DefinitionsGenerator

The common generator for C programs and headers.
Method Summary
  __init__(self)
  end_guard(self, module_name)
  function_signature(self, name, argnames)
  get_output(self)
  include(self, module_name)
  main_signature(self, name)
  start_guard(self, module_name)
  _translate(self, name)
Return a translation of 'name' compatible with C syntax.
    Inherited from RawGenerator
  write(self, *args)
  writeln(self, *args)
    Inherited from Generator
  dedent(self)
  indent(self)
  _ls(self)

Method Details

_translate(self, name)

Return a translation of 'name' compatible with C syntax.

Generated by Epydoc 2.1 on Fri May 19 01:52:26 2006 http://epydoc.sf.net