Package libconfix :: Package plugins :: Package idl :: Module builder :: Class Builder
[show private | hide private]
[frames | no frames]

Type Builder

object --+            
         |            
   Builder --+        
             |        
  EntryBuilder --+    
                 |    
       FileBuilder --+
                     |
                    Builder


Method Summary
  __init__(self, file)
  dependency_info(self)
  initialize(self, package)
Initialize the builder object; called once in an object's lifetime.
  install_path(self)
  output(self)
  parse_modules_(self, lines)
  shortname(self)
    Inherited from FileBuilder
  file(self)
  iface_pieces(self)
    Inherited from EntryBuilder
  __str__(self)
  entry(self)
  locally_unique_id(self)
A unique, opaque identifier that is supposed to distinguish this builder from its brothers in the same directory.
    Inherited from Builder
  add_buildinfo(self, b)
  add_internal_provide(self, p)
  add_provide(self, p)
  add_require(self, r)
  base_dependency_info_called(self)
  base_enlarge_called(self)
  base_output_called(self)
  base_relate_called(self)
  buildinfos(self)
  enlarge(self)
  force_enlarge(self)
Force one more round.
  force_enlarge_count(self)
  is_initialized(self)
See initialize().
  node(self)
  package(self)
  parentbuilder(self)
  relate(self, node, digraph, topolist)
  set_parentbuilder(self, parentbuilder)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name...
  __getattribute__(...)
x.__getattribute__('name') <==> x.name...
  __hash__(x)
x.__hash__() <==> hash(x)...
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle...
  __reduce_ex__(...)
helper for pickle...
  __repr__(x)
x.__repr__() <==> repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value...

Class Variable Summary
SRE_Pattern re_beg_mod_ = ^\s*module(.*)\{
SRE_Pattern re_beg_mod_named_ = ^\s*(\w+)
SRE_Pattern re_end_mod_ = ^\s*\}\s*;?\s*//.*(end of|/)\s*module

Method Details

initialize(self, package)

Initialize the builder object; called once in an object's
lifetime.

The base class implementation does nothing but remembering the
package. Derived classes may implement something complicated
like parsing their file's content for confix calls, or
searching for C++ namespace definitions, or whatnot.

It a derived class implements this method, however, it must
make sure that it hands the call upwards the inheritance
chain; else, it won't see the package being set.
Overrides:
libconfix.core.machinery.builder.Builder.initialize (inherited documentation)

Class Variable Details

re_beg_mod_

Type:
SRE_Pattern
Value:
^\s*module(.*)\{                                                       

re_beg_mod_named_

Type:
SRE_Pattern
Value:
^\s*(\w+)                                                              

re_end_mod_

Type:
SRE_Pattern
Value:
^\s*\}\s*;?\s*//.*(end of|/)\s*module                                  

Generated by Epydoc 2.1 on Fri Nov 23 16:56:34 2007 http://epydoc.sf.net