src/eric7/Utilities/ClassBrowsers/idlclbr.py

branch
eric7
changeset 9490
77b8d3a635b7
parent 9473
3f23dbf37dbe
--- a/src/eric7/Utilities/ClassBrowsers/idlclbr.py	Tue Nov 08 16:57:46 2022 +0100
+++ b/src/eric7/Utilities/ClassBrowsers/idlclbr.py	Tue Nov 08 18:03:11 2022 +0100
@@ -95,6 +95,13 @@
 _modules = {}  # cache of modules we've seen
 
 
+def clearModulesCache():
+    """
+    Function to clear the cached modules.
+    """
+    _modules.clear()
+
+
 class VisibilityMixin(ClbrBaseClasses.ClbrVisibilityMixinBase):
     """
     Mixin class implementing the notion of visibility.
@@ -204,15 +211,17 @@
         VisibilityMixin.__init__(self)
 
 
-def readmodule_ex(module, path=None):
+def readmodule_ex(module, path=None, isTypeFile=False):
     """
     Read a CORBA IDL file and return a dictionary of classes, functions and
     modules.
 
-    @param module name of the CORBA IDL file
+    @param module name of the IDL file
     @type str
     @param path path the file should be searched in
     @type list of str
+    @param isTypeFile flag indicating a file of this type
+    @type bool
     @return the resulting dictionary
     @rtype dict
     """

eric ide

mercurial