Base class for construction Environments. These are
the primary objects used to communicate dependency and
construction information to the build engine.
Keyword arguments supplied when the construction Environment
is created are construction variables used to initialize the
Environment
|
_Null
|
|
_null
|
|
MethodWrapper
A generic Wrapper class that associates a method (which can
actually be any callable) with an object. As part of creating this
MethodWrapper object an attribute with the specified (by default,
the name of the supplied method) is added to the underlying object.
When that new "method" is called, our __call__() method adds the
object as the first argument, simulating the Python behavior of
supplying "self" on method calls.
|
|
BuilderWrapper
A MethodWrapper subclass that that associates an environment with
a Builder.
|
|
BuilderDict
This is a dictionary-like class used by an Environment to hold
the Builders. We need to do this because every time someone changes
the Builders in the Environment's BUILDERS dictionary, we must
update the Environment's attributes.
|
|
SubstitutionEnvironment
Base class for different flavors of construction environments.
|
|
Base
Base class for "real" construction Environments. These are the
primary objects used to communicate dependency and construction
information to the build engine.
|
|
OverrideEnvironment
A proxy that overrides variables in a wrapped construction
environment by returning values from an overrides dictionary in
preference to values from the underlying subject environment.
|
|
Environment
Base class for "real" construction Environments. These are the
primary objects used to communicate dependency and construction
information to the build engine.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_delete_duplicates(l,
keep_last)
Delete duplicates from a sequence, keeping the first or last. |
source code
|
|
|
is_valid_construction_var(varstr)
Return if the specified string is a legitimate construction
variable. |
source code
|
|
|
default_decide_source(dependency,
target,
prev_ni) |
source code
|
|
|
default_decide_target(dependency,
target,
prev_ni) |
source code
|
|
|
|
|
NoSubstitutionProxy(subject)
An entry point for returning a proxy subclass instance that overrides
the subst*() methods so they don't actually perform construction
variable substitution. This is specifically intended to be the shim
layer in between global function calls (which don't want construction
variable substitution) and the DefaultEnvironment() (which would
substitute variables if left to its own devices). |
source code
|
|