window.WIKIN_MODULE_wikin_parser = {"name": "Parser (wikin.parser)", "original_name": "wikin.parser", "path": "D:\\Все\\Wikin\\wikin\\parser.py", "docstring": null, "functions": [], "variables": [], "classes": [{"name": "ModuleDoc", "docstring": "Holds documentation data for a single Python module.", "methods": []}, {"name": "WikinParser", "docstring": "A parser that scans Python files for docstrings and specially formatted variable comments.", "methods": [{"name": "__init__", "signature": "__init__(self, root_dir)", "docstring": "Initialize the parser with a root directory or a single file path."}, {"name": "_load_ignore_spec", "signature": "_load_ignore_spec(self)", "docstring": "Loads ignore patterns from docs/.wikinignore if it exists."}, {"name": "parse", "signature": "parse(self)", "docstring": "Perform a recursive search for Python files and extract documentation from them.\n\nReturns:\n    List[ModuleDoc]: A list of documented modules found."}, {"name": "_parse_file", "signature": "_parse_file(self, file_path, module_name)", "docstring": "Parses a single Python file using the ast module.\n\nArgs:\n    file_path: Path to the .py file.\n    module_name: Dot-separated module name.\n    \nReturns:\n    ModuleDoc containing extracted documentation."}, {"name": "_extract_metadata", "signature": "_extract_metadata(self, docstring, original_name)", "docstring": "Extracts Wikin-specific metadata from the module docstring.\n\nArgs:\n    docstring: The raw module docstring.\n    original_name: The default dot-separated module name.\n    \nReturns:\n    tuple: (display_name, cleaned_docstring)"}, {"name": "_parse_function", "signature": "_parse_function(self, node)", "docstring": "Internal helper to create a FunctionDoc from an AST node."}]}]};