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

Class Targets_or_Sources

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_List() 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.


Method Summary
  __init__(self, nl)
  __getattr__(self, attr)
  __getitem__(self, i)
  __getslice__(self, i, j)
  __repr__(self)
  __str__(self)
    Inherited from UserList
  __add__(self, other)
  __cmp__(self, other)
  __contains__(self, item)
  __delitem__(self, i)
  __delslice__(self, i, j)
  __eq__(self, other)
  __ge__(self, other)
  __gt__(self, other)
  __iadd__(self, other)
  __imul__(self, n)
  __le__(self, other)
  __len__(self)
  __lt__(self, other)
  __mul__(self, n)
  __ne__(self, other)
  __radd__(self, other)
  __rmul__(self, n)
  __setitem__(self, i, item)
  __setslice__(self, i, j, other)
  append(self, item)
  count(self, item)
  extend(self, other)
  index(self, item, *args)
  insert(self, i, item)
  pop(self, i)
  remove(self, item)
  reverse(self)
  sort(self, *args, **kwds)

Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 http://epydoc.sf.net