src/eric7/Documentation/Source/eric7.Utilities.ClassBrowsers.jsclbr.html

branch
eric7
changeset 9503
ae9232bf4854
parent 9236
db53a9efe7ef
child 9612
93b496cc3c88
equal deleted inserted replaced
9502:6091145e189e 9503:ae9232bf4854
43 <h3>Functions</h3> 43 <h3>Functions</h3>
44 44
45 <table> 45 <table>
46 46
47 <tr> 47 <tr>
48 <td><a href="#clearModulesCache">clearModulesCache</a></td>
49 <td>Function to clear the cached modules.</td>
50 </tr>
51 <tr>
48 <td><a href="#readmodule_ex">readmodule_ex</a></td> 52 <td><a href="#readmodule_ex">readmodule_ex</a></td>
49 <td>Read a JavaScript file and return a dictionary of functions and variables.</td> 53 <td>Read a JavaScript file and return a dictionary of functions and variables.</td>
50 </tr> 54 </tr>
51 <tr> 55 <tr>
52 <td><a href="#scan">scan</a></td> 56 <td><a href="#scan">scan</a></td>
420 </dd> 424 </dd>
421 </dl> 425 </dl>
422 <div align="right"><a href="#top">Up</a></div> 426 <div align="right"><a href="#top">Up</a></div>
423 <hr /> 427 <hr />
424 <hr /> 428 <hr />
429 <a NAME="clearModulesCache" ID="clearModulesCache"></a>
430 <h2>clearModulesCache</h2>
431 <b>clearModulesCache</b>(<i></i>)
432
433 <p>
434 Function to clear the cached modules.
435 </p>
436 <div align="right"><a href="#top">Up</a></div>
437 <hr />
438 <hr />
425 <a NAME="readmodule_ex" ID="readmodule_ex"></a> 439 <a NAME="readmodule_ex" ID="readmodule_ex"></a>
426 <h2>readmodule_ex</h2> 440 <h2>readmodule_ex</h2>
427 <b>readmodule_ex</b>(<i>module, path=None</i>) 441 <b>readmodule_ex</b>(<i>module, path=None, isTypeFile=False</i>)
428 442
429 <p> 443 <p>
430 Read a JavaScript file and return a dictionary of functions and variables. 444 Read a JavaScript file and return a dictionary of functions and variables.
431 </p> 445 </p>
432 <dl> 446 <dl>
433 447
434 <dt><i>module</i></dt> 448 <dt><i>module</i> (str)</dt>
435 <dd> 449 <dd>
436 name of the JavaScript file (string) 450 name of the JavaScript file
437 </dd> 451 </dd>
438 <dt><i>path</i></dt> 452 <dt><i>path</i> (list of str)</dt>
439 <dd> 453 <dd>
440 path the file should be searched in (list of strings) 454 path the file should be searched in
455 </dd>
456 <dt><i>isTypeFile</i> (bool)</dt>
457 <dd>
458 flag indicating a file of this type
441 </dd> 459 </dd>
442 </dl> 460 </dl>
443 <dl> 461 <dl>
444 <dt>Return:</dt> 462 <dt>Return:</dt>
445 <dd> 463 <dd>
446 the resulting dictionary 464 the resulting dictionary
465 </dd>
466 </dl>
467 <dl>
468 <dt>Return Type:</dt>
469 <dd>
470 dict
447 </dd> 471 </dd>
448 </dl> 472 </dl>
449 <div align="right"><a href="#top">Up</a></div> 473 <div align="right"><a href="#top">Up</a></div>
450 <hr /> 474 <hr />
451 <hr /> 475 <hr />

eric ide

mercurial