eric6/Utilities/ClassBrowsers/jsclbr.py

changeset 7685
0b6e8c0d6403
parent 7676
0f67b4562d98
child 7690
a59680062837
equal deleted inserted replaced
7683:2fca14bea889 7685:0b6e8c0d6403
277 self.__dict["@@Globals@@"]._addglobal( 277 self.__dict["@@Globals@@"]._addglobal(
278 Attribute(self.__module, "const " + var.name, 278 Attribute(self.__module, "const " + var.name,
279 self.__file, var.line)) 279 self.__file, var.line))
280 280
281 281
282 # TODO: extract scan function (see pyclbr)
282 def readmodule_ex(module, path=None): 283 def readmodule_ex(module, path=None):
283 """ 284 """
284 Read a JavaScript file and return a dictionary of functions and variables. 285 Read a JavaScript file and return a dictionary of functions and variables.
285 286
286 @param module name of the JavaScript file (string) 287 @param module name of the JavaScript file (string)

eric ide

mercurial