| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Module Builder :: Class BuilderBase |
|
Base class for Builders, objects that create output nodes (files) from input nodes (files).
| Method Summary | |
|---|---|
__init__(self,
action,
prefix,
suffix,
src_suffix,
target_factory,
source_factory,
target_scanner,
source_scanner,
emitter,
multi,
env,
single_source,
name,
chdir,
is_explicit,
src_builder,
ensure_suffix,
**overrides)
| |
__call__(self,
env,
target,
source,
chdir,
**kw)
| |
__cmp__(self,
other)
| |
__nonzero__(self)
| |
Add a suffix-emitter mapping to this Builder. | |
Add a new Builder to the list of src_builders. | |
adjust_suffix(self,
suff)
| |
get_multi_executor(self,
env,
tlist,
slist,
executor_kw)
| |
Attempts to get the name of the Builder. | |
get_prefix(self,
env,
sources)
| |
get_single_executor(self,
env,
tlist,
slist,
executor_kw)
| |
Returns the list of source Builders for this Builder. | |
Get the first src_suffix in the list of src_suffixes. | |
get_suffix(self,
env,
sources)
| |
set_src_suffix(self,
src_suffix)
| |
set_suffix(self,
suffix)
| |
splitext(self,
path,
env)
| |
src_builder_sources(self,
env,
source,
overwarn)
| |
Returns the list of source suffixes for all src_builders of this Builder. | |
The suffix list may contain construction variable expansions, so we have to evaluate the individual strings. | |
| Class Variable Summary | |
|---|---|
list |
memoizer_counters = [<SCons.Memoize.CountDict instance a...
|
| Method Details |
|---|
add_emitter(self, suffix, emitter)Add a suffix-emitter mapping to this Builder. This assumes that emitter has been initialized with an appropriate dictionary type, and will throw a TypeError if not, so the caller is responsible for knowing that this is an appropriate method to call for the Builder in question. |
add_src_builder(self, builder)Add a new Builder to the list of src_builders. This requires wiping out cached values so that the computed lists of source suffixes get re-calculated. |
get_name(self, env)Attempts to get the name of the Builder. Look at the BUILDERS variable of env, expecting it to be a dictionary containing this Builder, and return the key of the dictionary. If there's no key, then return a directly-configured name (if there is one) or the name of the class (by default). |
get_src_builders(self, env)Returns the list of source Builders for this Builder. This exists mainly to look up Builders referenced as strings in the 'BUILDER' variable of the construction environment and cache the result. |
get_src_suffix(self, env)Get the first src_suffix in the list of src_suffixes. |
src_suffixes(self, env)Returns the list of source suffixes for all src_builders of this Builder. This is essentially a recursive descent of the src_builder "tree." (This value isn't cached because there may be changes in a src_builder many levels deep that we can't see.) |
subst_src_suffixes(self, env)The suffix list may contain construction variable expansions, so we have to evaluate the individual strings. To avoid doing this over and over, we memoize the results for each construction environment. |
| Class Variable Details |
|---|
memoizer_counters
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 | http://epydoc.sf.net |