SCons :: Subst :: Targets_or_Sources :: Class Targets_or_Sources
[hide private]
[frames] | no frames]

Class Targets_or_Sources

source code

UserList.UserList --+
                    |
                   Targets_or_Sources

A class that implements $TARGETS or $SOURCES expansions by in turn
wrapping a NLWrapper.  This class handles the different methods used
to access the list, calling the NLWrapper to create proxies on demand.

Note that we subclass UserList.UserList purely so that the
is_Sequence() function will identify an object of this class as
a list during variable expansion.  We're not really using any
UserList.UserList methods in practice.



Instance Methods [hide private]
 
__init__(self, nl) source code
 
__getattr__(self, attr) source code
 
__getitem__(self, i) source code
 
__getslice__(self, i, j) source code
 
__str__(self) source code
 
__repr__(self) source code

Inherited from UserList.UserList: __add__, __cmp__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __gt__, __iadd__, __imul__, __le__, __len__, __lt__, __mul__, __ne__, __radd__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Method Details [hide private]

__init__(self, nl)
(Constructor)

source code 
Overrides: UserList.UserList.__init__

__getitem__(self, i)
(Indexing operator)

source code 
Overrides: UserList.UserList.__getitem__

__getslice__(self, i, j)
(Slicling operator)

source code 
Overrides: UserList.UserList.__getslice__

__repr__(self)
(Representation operator)

source code 
Overrides: UserList.UserList.__repr__