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

Class CLVar

source code

       object --+                
                |                
    _abcoll.Sized --+            
                    |            
       object --+   |            
                |   |            
 _abcoll.Iterable --+            
                    |            
       object --+   |            
                |   |            
_abcoll.Container --+            
                    |            
     _abcoll.Sequence --+        
                        |        
  _abcoll.MutableSequence --+    
                            |    
            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.

Nested Classes [hide private]

Inherited from _abcoll.Sized: __metaclass__

Instance Methods [hide private]
 
__init__(self, seq=[])
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__add__(self, other) source code
 
__radd__(self, other) source code
 
__str__(self)
str(x)
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

Inherited from _abcoll.Sequence: __iter__, __reversed__

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__

Class Methods [hide private]

Inherited from _abcoll.Sized: __subclasshook__

Class Variables [hide private]

Inherited from UserList.UserList: __abstractmethods__, __hash__

Inherited from UserList.UserList (private): _abc_negative_cache, _abc_negative_cache_version, _abc_registry

Inherited from _abcoll.Sized (private): _abc_cache

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

source code 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

__add__(self, other)
(Addition operator)

source code 
Overrides: UserList.UserList.__add__

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

source code 
Overrides: UserList.UserList.__radd__

__str__(self)
(Informal representation operator)

source code 
str(x)
Overrides: object.__str__
(inherited documentation)