|
| def | getApiPaths (apiPath, fileDict, importCache=None, exportMap=None) |
| | Get all available paths of a library API definition 获取库API定义的所有可用路径 More...
|
| |
| def | getAssign (root_node, filePath=None) |
| | Extract all assign node from a .py file's AST 通过AST获取.py文件的Assign语句 More...
|
| |
| def | getClass (lst, root, prefix, fileDict, pyiFlag=0, importCache=None, exportMap=None) |
| | Extract class method definitions from a give class. More...
|
| |
| def | getDefFunction (args) |
| | Extract all lib API definitions from a specified version 抽取给定版本的库API定义 More...
|
| |
| def | getExportMap (filePath) |
| | Build the re-export mapping of library API definitions 构建库API定义的重导出映射 More...
|
| |
| def | getPublicAliasLine (line, sourceRoot, publicRoot) |
| | Return a public alias line for source-root API lines 为源码根路径API行生成公开路径别名 More...
|
| |
| def | parseLibrarySource (source, filename='< unknown >') |
| | Parse library source with supported legacy syntax in the Python 3.9 runtime 在Python 3.9环境中解析含有受支持旧语法的库源码 More...
|
| |
| def | shortenPath (lst, fileDict, importCache=None) |
| | Shorten the API path based on init.py and import alias 通过解析__init__.py和import别名,把源码中的部分API路径缩短 More...
|
| |
| def | task (codeText, libApi, prefix, fileDict, pyiFlag=0, importCache=None, exportMap=None) |
| | Extract all lib API definitions from a source file 抽取库源码API定义任务 More...
|
| |
| def | writeApiLine (fw, line, sourceRoot='', publicRoot='') |
| | Write one lib API line and its public alias if needed 写出一行库API,并按需写出公开路径别名 More...
|
| |