SCons :: Defaults :: Variable_Method_Caller :: Class Variable_Method_Caller
[hide private]
[frames] | no frames]

Class Variable_Method_Caller

source code

object --+
         |
        Variable_Method_Caller

A class for finding a construction variable on the stack and calling one of its methods.

We use this to support "construction variables" in our string eval()s that actually stand in for methods--specifically, use of "RDirs" in call to _concat that should actually execute the "TARGET.RDirs" method. (We used to support this by creating a little "build dictionary" that mapped RDirs to the method, but this got in the way of Memoizing construction environments, because we had to create new environment objects to hold the variables.)

Instance Methods [hide private]
 
__init__(self, variable, method)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__call__(self, *args, **kw) source code

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, variable, method)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)