This is a callable class that can be used as a
command generator function. It holds on to a dictionary
mapping file suffixes to Actions. It uses that dictionary
to return the proper action based on the file suffix of
the source file.
| Method Summary |
| |
__init__(self,
dict,
source_ext_match)
|
| |
__call__(self,
target,
source,
env,
for_signature)
|
| |
add_action(self,
suffix,
action)
Add a suffix-action pair to the mapping. |
| |
src_suffixes(self)
|
| Inherited from OrderedDict |
| |
__delitem__(self,
key)
|
| |
__setitem__(self,
key,
item)
|
| |
clear(self)
|
| |
copy(self)
|
| |
items(self)
|
| |
keys(self)
|
| |
popitem(self)
|
| |
setdefault(self,
key,
failobj)
|
| |
update(self,
dict)
|
| |
values(self)
|
| Inherited from UserDict |
| |
__cmp__(self,
dict)
|
| |
__contains__(self,
key)
|
| |
__getitem__(self,
key)
|
| |
__len__(self)
|
| |
__repr__(self)
|
| |
fromkeys(cls,
iterable,
value)
(Class method)
|
| |
get(self,
key,
failobj)
|
| |
has_key(self,
key)
|
| |
iteritems(self)
|
| |
iterkeys(self)
|
| |
itervalues(self)
|
| |
pop(self,
key,
*args)
|