SCons.Builder.DictEmitter

Package SCons :: Module Builder :: Class DictEmitter |
[hide private]
[frames] | no frames]

# Class DictEmitter

source code

    UserDict.UserDict --+
                        |
         Util.OrderedDict --+
                            |
                Util.Selector --+
                                |
                               DictEmitter

A callable dictionary that maps file suffixes to emitters. When called, it finds the right emitter in its dictionary for the suffix of the first source file, and calls that emitter to get the right lists of targets and sources to return. If there's no emitter for the suffix in its dictionary, the original target and source are returned.

Instance Methods | [hide private]
__call__(self, target, source, env) | source code
Inherited from `Util.OrderedDict`: `__delitem__`, `__init__`, `__setitem__`, `clear`, `copy`, `items`, `keys`, `popitem`, `setdefault`, `update`, `values` Inherited from `UserDict.UserDict`: `__cmp__`, `__contains__`, `__getitem__`, `__len__`, `__repr__`, `get`, `has_key`, `iteritems`, `iterkeys`, `itervalues`, `pop`

Class Methods | [hide private]
Inherited from `UserDict.UserDict`: `fromkeys`

Method Details | [hide private]

### __call__(self, target, source, env) (Call operator) | source code
Overrides: Util.Selector.__call__