Package SCons :: Module Scanner :: Class ClassicCPP
[hide private]
[frames] | no frames]

Class ClassicCPP

source code

object --+            
         |            
      Base --+        
             |        
       Current --+    
                 |    
           Classic --+
                     |
                    ClassicCPP


A Classic Scanner subclass which takes into account the type of
bracketing used to include the file, and uses classic CPP rules
for searching for the files based on the bracketing.

Note that in order for this to work, the regular expression passed
to the constructor must return the leading bracket in group 0, and
the contained filename in group 1.



Instance Methods [hide private]
 
find_include(self, include, source_dir, path) source code
 
sort_key(self, include) source code

Inherited from Classic: __init__, find_include_names, scan

Inherited from Base: __call__, __cmp__, __hash__, __str__, add_scanner, add_skey, get_skeys, path, recurse_nodes, select

Inherited from Base (private): _recurse_all_nodes, _recurse_no_nodes

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

find_include(self, include, source_dir, path)

source code 
Overrides: Classic.find_include

sort_key(self, include)

source code 
Overrides: Classic.sort_key