Package SCons :: Module Executor :: Class TSList
[hide private]
[frames] | no frames]

Class TSList

source code

UserList.UserList --+
                    |
                   TSList

A class that implements $TARGETS or $SOURCES expansions by wrapping
an executor Method.  This class is used in the Executor.lvars()
to delay creation of NodeList objects until they're needed.

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, func) 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, func)
(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__