00001 #include "edoc.py"
00002 #include "sys.py"
00003 #include "re.py"
00004 #include "copy.py"
00005 namespace eh {
00019 SetupVars();
00024 OnMatchAppendResult(result,v,index);
00029 OnMatchAppendIndex(result,v,index);
00049 Exact(values,callback,match_str,inverse=False,on_match=OnMatchAppendResult);
00058 Contains(values,callback,match_str,inverse=False,on_match=OnMatchAppendResult);
00069 Regexp(values,callback,match_str,inverse=False,on_match=OnMatchAppendResult);
00077 class ItemContainer : public object
00078 {
00079 public:
00082 __init__(items);
00088 __call__(args,kwds);
00097 __getattr__(key);
00103 __setattr__(key,value);
00107 __len__();
00111 __iter__();
00120 Matches(callback,match_str,mtype=Regexp,inverse=False,container_type=None);
00128 MatchesInList(callback,data_list);
00136 MatchesIn(callback,data_list);
00141 GetValues();
00142 };
00145 class ItemListContainer : public ItemContainer
00146 {
00147 public:
00150 GetValues();
00151 };
00154 class ItemMapContainer : public ItemContainer
00155 {
00156 public:
00162 GetValues();
00167 MatchesKey(match_str,mtype=Regexp,inverse=False);
00168 };
00174 class EDocItemMapContainer : public ItemMapContainer
00175 {
00176 public:
00179 __init__(items);
00180 };
00184 class FileMap : public EDocItemMapContainer
00185 {
00186 public:
00189 __init__(files);
00190 };
00194 class TypeMap : public EDocItemMapContainer
00195 {
00196 public:
00199 __init__(types);
00206 MatchesDeclared(match_str,mtype=Regexp,inverse=False);
00210 CaughtBy(types);
00214 Suppress();
00218 UnSuppress();
00219 };
00223 class FunctionTypeMap : public EDocItemMapContainer
00224 {
00225 public:
00228 __init__(function_types);
00229 };
00233 class FunctionMap : public EDocItemMapContainer
00234 {
00235 public:
00238 __init__(functions);
00242 Suppress();
00246 UnSuppress();
00253 MatchesDeclared(match_str,mtype=Regexp,inverse=False);
00257 Flat();
00277 MatchesPropogatingExceptionsRegexp(type,function='.*',line='.*',file='.*');
00285 GenPossCallSuppressions();
00292 RenameDeclared(old,new,mtype=Regexp,inverse=False);
00293 };
00297 class PropogatingExceptionList : public ItemListContainer
00298 {
00299 public:
00302 __init__(pes);
00306 Suppress();
00310 UnSuppress();
00311 };
00315 class OriginatingExceptionList : public ItemListContainer
00316 {
00317 public:
00320 __init__(oes);
00324 Suppress();
00328 UnSuppress();
00329 };
00333 class CodeBlockList : public ItemListContainer
00334 {
00335 public:
00338 __init__(code_blocks);
00343 SuppressOriginatingException(match_str,mtype=Regexp,inverse=False);
00351 MatchesOriginatingException(match_str,mtype=Regexp,inverse=False);
00358 ErasePossCalls(match_str,mtype=Regexp,inverse=False);
00359 };
00362 _strKV(key,value='');
00365 _MatchLR(literal,value,attrib);
00372 class Notification : public object
00373 {
00374 public:
00375 __init__(py_ecode,py_event,py_etype,py_function,py_file,
00376 py_line,py_rfile,py_rline,py_type,py_prop,py_ftype,py_extra);
00377 Match(event=None,function=None,decl_function=None,file=None,line=None,rfile=None,
00378 rline=None,type=None,prop=None,ftype=None,ecode=None,etype=None,extra=None,
00379 literal=False);
00385 __str__();
00390 GenMatch(event=True,function=True,decl_function=True,file=True,line=True,rfile=True,rline=True,type=True,prop=True,ftype=True,ecode=False,etype=False,loc=None,extra=True);
00391 };
00396 _HasCallableAttr(obj,name);
00403 _NotificationSuppressionsWrapper(py_code,py_ev_name,py_ev_type,
00404 py_function,py_file,py_line,py_rfile,py_rline,py_type,
00405 py_prop_exc,py_function_type,py_extra);
00408 SetupNotificationSuppressions();
00414 PreExpansion();
00420 PostExpansion();
00427 PostCalculation();
00430 FunctionReturnTrue();
00433 FunctionReturnFalse();
00434
00435 }