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

Class CommandGeneratorAction

source code

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

Class for command-generator actions.



Instance Methods [hide private]
 
__init__(self, generator, kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_generate(self, target, source, env, for_signature, executor=False) source code
 
__str__(self)
str(x)
source code
 
batch_key(self, env, target, source) source code
 
genstring(self, target, source, env, executor=False) 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=False) source code
 
get_presig(self, target, source, env, executor=False)
Return the signature contents of this action's command line.
source code
 
get_implicit_deps(self, target, source, env, executor=False) source code
 
get_varlist(self, target, source, env, executor=False) 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__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, generator, kw)
(Constructor)

source code 
x.__init__(...) initializes x; see x.__class__.__doc__ 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=False)

source code 
Overrides: ActionBase.genstring

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

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=False)

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)