Package SCons :: Module Builder :: Class CompositeBuilder
[hide private]
[frames] | no frames]

Class CompositeBuilder

source code

object --+    
         |    
Util.Proxy --+
             |
            CompositeBuilder

A Builder Proxy whose main purpose is to always have a DictCmdGenerator as its action, and to provide access to the DictCmdGenerator's add_action() method.
Instance Methods [hide private]
 
__init__(self, builder, cmdgen)
Wrap an object as a Proxy object
source code
 
__call__(...)
A Python Descriptor class that delegates attribute fetches to an underlying wrapped subject of a Proxy. Typical use:
source code
 
add_action(self, suffix, action) source code

Inherited from Util.Proxy: __cmp__, __getattr__, get

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, builder, cmdgen)
(Constructor)

source code 
Wrap an object as a Proxy object
Overrides: object.__init__
(inherited documentation)

__call__(...)
(Call operator)

source code 

A Python Descriptor class that delegates attribute fetches to an underlying wrapped subject of a Proxy. Typical use:

class Foo(Proxy):
__str__ = Delegate('__str__')