.. link: .. description: .. tags: .. date: 2013/08/18 00:00:00 .. title: NINJA-IDE .. slug: introspection .. class:: alert alert-info pull-top .. contents:: *Module:* `introspection.py `_ API ===================================================================================== No description. *Imports:* ------------ - `_ast `_ - `ast `_ - `ninja_ide.tools.logger.NinjaLogger `_ - `ninja_ide.tools.completion.analyzer `_ *Global Attributes:* ---------------------- - `_map_type [at ln:29] `_ - `logger_imports [at ln:24] `_ - `logger_symbols [at ln:26] `_ ---- *Global Functions:* --------------------- *Function:* `_parse_assign(symbol) [at ln:39] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _parse_assign(symbol): No description. ---- *Function:* `_parse_class(symbol, with_docstrings) [at ln:50] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _parse_class(symbol, with_docstrings): No description. ---- *Function:* `_parse_function(symbol, with_docstrings) [at ln:88] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def _parse_function(symbol, with_docstrings): No description. ---- *Function:* `obtain_imports(source=str, body=None) [at ln:192] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def obtain_imports(source=str, body=None): No description. ---- *Function:* `obtain_symbols(source, with_docstrings=False, filename=str) [at ln:149] `_ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. code:: python def obtain_symbols(source, with_docstrings=False, filename=str): | Parse a module source code to obtain: Classes, Functions and Assigns.