| Home | Trees | Index | Help |
|
|---|
| Package yagdoc :: Module inspector :: Class InspectConstructor |
|
object --+
|
InspectConstructor
inspect program C code.
| Method Summary | |
|---|---|
__init__(self)
| |
Add a param spec descriptor. | |
Add a special property type. | |
Replace a customization hook with given code. | |
Apply all customization hooks. | |
Set the initialization function hook. | |
Apply hooks and write the C source code into a file. | |
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
| |
| Method Details |
|---|
add_pspec_descriptor(self, name, descriptor_body)Add a param spec descriptor.
|
add_special_property(self, name, req_type, query_func)Add a special property type.
|
apply_hook(self, name, code)Replace a customization hook with given code.
|
apply_hooks(self)Apply all customization hooks. |
set_initialization_func(self, init_func)Set the initialization function hook.
|
write_source(self, outfile='inspect.c')Apply hooks and write the C source code into a file. This should be called only once. If a file name is given as outfile, update_file() is used to write it.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Fri Oct 5 00:36:53 2007 | http://epydoc.sf.net |