SCons :: cpp :: FunctionEvaluator :: Class FunctionEvaluator
[hide private]
[frames] | no frames]

Class FunctionEvaluator

source code

object --+
         |
        FunctionEvaluator


Handles delayed evaluation of a #define function call.



Instance Methods [hide private]
 
__init__(self, name, args, expansion)
Squirrels away the arguments and expansion value of a #define macro function for later evaluation when we must actually expand a value that uses it.
source code
 
__call__(self, *values)
Evaluates the expansion of a #define macro function called with the specified values.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, args, expansion)
(Constructor)

source code 

Squirrels away the arguments and expansion value of a #define
macro function for later evaluation when we must actually expand
a value that uses it.

Overrides: object.__init__