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.
|
|
|
find_include(self,
include,
source_dir,
path) |
source code
|
|
|
|
|
|
|
|
Inherited from Base :
__call__ ,
__cmp__ ,
__hash__ ,
__str__ ,
add_scanner ,
add_skey ,
get_skeys ,
path ,
recurse_nodes ,
select
|