Package SCons :: Module Action :: Class CommandGeneratorAction
[hide private]
[frames] | no frames]

Class CommandGeneratorAction

source code

object --+    
         |    
ActionBase --+
             |
            CommandGeneratorAction
Known Subclasses:

Class for command-generator actions.
Instance Methods [hide private]
 
__init__(self, generator, kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_generate(self, target, source, env, for_signature, executor=None) source code
 
__str__(self)
str(x)
source code
 
batch_key(self, env, target, source) source code
 
genstring(self, target, source, env, executor=None) source code
 
__call__(self, target, source, env, exitstatfunc=<class 'SCons.Action._null'>, presub=<class 'SCons.Action._null'>, show=<class 'SCons.Action._null'>, execute=<class 'SCons.Action._null'>, chdir=<class 'SCons.Action._null'>, executor=None) source code
 
get_presig(self, target, source, env, executor=None)
Return the signature contents of this action's command line.
source code
 
get_implicit_deps(self, target, source, env, executor=None) source code
 
get_varlist(self, target, source, env, executor=None) source code
 
get_targets(self, env, executor)
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
source code

Inherited from ActionBase: __add__, __cmp__, __radd__, get_contents, no_batch_key, presub_lines

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, generator, kw)
(Constructor)

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

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)

batch_key(self, env, target, source)

source code 
Overrides: ActionBase.no_batch_key

genstring(self, target, source, env, executor=None)

source code 
Overrides: ActionBase.genstring

get_presig(self, target, source, env, executor=None)

source code 

Return the signature contents of this action's command line.

This strips $(-$) and everything in between the string, since those parts don't affect signatures.

get_varlist(self, target, source, env, executor=None)

source code 
Overrides: ActionBase.get_varlist

get_targets(self, env, executor)

source code 
Returns the type of targets ($TARGETS, $CHANGED_TARGETS) used by this action.
Overrides: ActionBase.get_targets
(inherited documentation)