|
|
|
__init__(self,
current=' . ' ,
cpppath=( ) ,
dict={ } ,
all=0)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
_do_if_else_condition(self,
condition)
Common logic for evaluating the conditions on #if, #ifdef and
#ifndef lines. |
source code
|
|
|
|
|
do_define(self,
t)
Default handling of a #define line. |
source code
|
|
|
do_elif(self,
t)
Default handling of a #elif line. |
source code
|
|
|
do_else(self,
t)
Default handling of a #else line. |
source code
|
|
|
do_endif(self,
t)
Default handling of a #endif line. |
source code
|
|
|
do_if(self,
t)
Default handling of a #if line. |
source code
|
|
|
do_ifdef(self,
t)
Default handling of a #ifdef line. |
source code
|
|
|
do_ifndef(self,
t)
Default handling of a #ifndef line. |
source code
|
|
|
do_import(self,
t)
Default handling of a #import line. |
source code
|
|
|
do_include(self,
t)
Default handling of a #include line. |
source code
|
|
|
do_include_next(self,
t)
Default handling of a #include line. |
source code
|
|
|
do_nothing(self,
t)
Null method for when we explicitly want the action for a
specific preprocessor directive to do nothing. |
source code
|
|
|
do_undef(self,
t)
Default handling of a #undef line. |
source code
|
|
|
|
|
|
|
find_include_file(self,
t)
Finds the #include file for a given preprocessor tuple. |
source code
|
|
|
|
|
|
|
|
|
|
|
restore(self)
Pops the previous dispatch table off the stack and makes it the
current one. |
source code
|
|
|
save(self)
Pushes the current dispatch table on the stack and re-initializes
the current dispatch table to the default. |
source code
|
|
|
|
|
|
|
|
|
tupleize(self,
contents)
Turns the contents of a file into a list of easily-processed
tuples describing the CPP lines in the file. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|