Utilities/ClassBrowsers/idlclbr.py

changeset 5977
8a0ec75b0f73
parent 5651
982465f8389c
child 6048
82ad8ec9548c
equal deleted inserted replaced
5976:549918576245 5977:8a0ec75b0f73
112 """ 112 """
113 def __init__(self, module, name, file, lineno): 113 def __init__(self, module, name, file, lineno):
114 """ 114 """
115 Constructor 115 Constructor
116 116
117 @param module name of the module containing this class 117 @param module name of the module containing this module
118 @param name name of this class 118 @type str
119 @param file filename containing this class 119 @param name name of this module
120 @param lineno linenumber of the class definition 120 @type str
121 @param file filename containing this module
122 @type str
123 @param lineno line number of the module definition
124 @type int
121 """ 125 """
122 ClbrBaseClasses.Module.__init__(self, module, name, file, lineno) 126 ClbrBaseClasses.Module.__init__(self, module, name, file, lineno)
123 VisibilityMixin.__init__(self) 127 VisibilityMixin.__init__(self)
124 128
125 129
129 """ 133 """
130 def __init__(self, module, name, superClasses, file, lineno): 134 def __init__(self, module, name, superClasses, file, lineno):
131 """ 135 """
132 Constructor 136 Constructor
133 137
134 @param module name of the module containing this class 138 @param module name of the module containing this interface
139 @type str
135 @param name name of this interface 140 @param name name of this interface
141 @type str
136 @param superClasses list of interface names this interface is 142 @param superClasses list of interface names this interface is
137 inherited from 143 inherited from
144 @type list of str
138 @param file filename containing this interface 145 @param file filename containing this interface
139 @param lineno linenumber of the interface definition 146 @type str
147 @param lineno line number of the interface definition
148 @type int
140 """ 149 """
141 ClbrBaseClasses.Class.__init__(self, module, name, superClasses, file, 150 ClbrBaseClasses.Class.__init__(self, module, name, superClasses, file,
142 lineno) 151 lineno)
143 VisibilityMixin.__init__(self) 152 VisibilityMixin.__init__(self)
144 153
151 separator=','): 160 separator=','):
152 """ 161 """
153 Constructor 162 Constructor
154 163
155 @param module name of the module containing this function 164 @param module name of the module containing this function
165 @type str
156 @param name name of this function 166 @param name name of this function
157 @param file filename containing this class 167 @type str
158 @param lineno linenumber of the class definition 168 @param file filename containing this function
159 @param signature parameterlist of the method 169 @type str
170 @param lineno line number of the function definition
171 @type int
172 @param signature parameter list of the function
173 @type str
160 @param separator string separating the parameters 174 @param separator string separating the parameters
175 @type str
161 """ 176 """
162 ClbrBaseClasses.Function.__init__(self, module, name, file, lineno, 177 ClbrBaseClasses.Function.__init__(self, module, name, file, lineno,
163 signature, separator) 178 signature, separator)
164 VisibilityMixin.__init__(self) 179 VisibilityMixin.__init__(self)
165 180
170 """ 185 """
171 def __init__(self, module, name, file, lineno): 186 def __init__(self, module, name, file, lineno):
172 """ 187 """
173 Constructor 188 Constructor
174 189
175 @param module name of the module containing this class 190 @param module name of the module containing this attribute
176 @param name name of this class 191 @type str
192 @param name name of this attribute
193 @type str
177 @param file filename containing this attribute 194 @param file filename containing this attribute
178 @param lineno linenumber of the class definition 195 @type str
196 @param lineno line number of the attribute definition
197 @type int
179 """ 198 """
180 ClbrBaseClasses.Attribute.__init__(self, module, name, file, lineno) 199 ClbrBaseClasses.Attribute.__init__(self, module, name, file, lineno)
181 VisibilityMixin.__init__(self) 200 VisibilityMixin.__init__(self)
182 201
183 202
184 def readmodule_ex(module, path=None): 203 def readmodule_ex(module, path=None):
185 """ 204 """
186 Read a CORBA IDL file and return a dictionary of classes, functions and 205 Read a CORBA IDL file and return a dictionary of classes, functions and
187 modules. 206 modules.
188 207
189 @param module name of the CORBA IDL file (string) 208 @param module name of the CORBA IDL file
190 @param path path the file should be searched in (list of strings) 209 @type str
210 @param path path the file should be searched in
211 @type list of str
191 @return the resulting dictionary 212 @return the resulting dictionary
213 @rtype dict
192 """ 214 """
193 global _modules 215 global _modules
194 216
195 dictionary = {} 217 dictionary = {}
196 dict_counts = {} 218 dict_counts = {}

eric ide

mercurial