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

Class CLVar

source code

UserList.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.



Instance Methods [hide private]
 
__init__(self, seq=[]) source code
 
__add__(self, other) source code
 
__radd__(self, other) source code
 
__coerce__(self, other) source code
 
__str__(self) source code

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

Method Details [hide private]

__init__(self, seq=[])
(Constructor)

source code 
Overrides: UserList.UserList.__init__

__add__(self, other)
(Addition operator)

source code 
Overrides: UserList.UserList.__add__

__radd__(self, other)
(Right-side addition operator)

source code 
Overrides: UserList.UserList.__radd__