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

Class Variable_Method_Caller

source code

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) source code
 
__call__(self, *args, **kw) source code