Package SCons :: Module Util :: Class CLVar
[show private | hide private]
[frames | no frames]

Class CLVar

UserList --+
           |
          CLVar


A class for command-line construction variables.

This is a list that uses Split() to split an initial string along white-space arguments, and similarly to split any strings that get added. This allows us to Do the Right Thing with Append() and Prepend() (as well as straight Python foo = env['VAR'] + 'arg1 arg2') regardless of whether a user adds a list or a string to a command-line construction variable.


Method Summary
  __init__(self, seq)
  __coerce__(self, other)
  __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)
  __getitem__(self, i)
  __getslice__(self, i, j)
  __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)
  __repr__(self)
  __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:32 2007 http://epydoc.sf.net