Package SCons :: Package Scanner :: Class Classic
[show private | hide private]
[frames | no frames]

Class Classic

Base --+    
       |    
 Current --+
           |
          Classic

Known Subclasses:
ClassicCPP, D, F90Scanner, LaTeX

A Scanner subclass to contain the common logic for classic CPP-style include scanning, but which can be customized to use different regular expressions to find the includes.

Note that in order for this to work "out of the box" (without overriding the find_include() and sort_key() methods), the regular expression passed to the constructor must return the name of the include file in group 0.


Method Summary
  __init__(self, name, suffixes, path_variable, regex, *args, **kw)
  find_include(self, include, source_dir, path)
  scan(self, node, path)
  sort_key(self, include)
    Inherited from Base
  __call__(self, node, env, path)
This method scans a single object.
  __cmp__(self, other)
  __hash__(self)
  __str__(self)
  add_scanner(self, skey, scanner)
  add_skey(self, skey)
Add a skey to the list of skeys
  get_skeys(self, env)
  path(self, env, dir, target, source)
  select(self, node)

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