1 line
6.3 KiB
JSON
1 line
6.3 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "label": "__init__.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L1"}, {"id": "init_lex", "label": "lex()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L35"}, {"id": "init_format", "label": "format()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L52"}, {"id": "init_highlight", "label": "highlight()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L77"}, {"id": "init_rationale_1", "label": "Pygments ~~~~~~~~ Pygments is a syntax highlighting package written in", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L1"}, {"id": "init_rationale_36", "label": "Lex `code` with the `lexer` (must be a `Lexer` instance) and return an itera", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L36"}, {"id": "init_rationale_53", "label": "Format ``tokens`` (an iterable of tokens) with the formatter ``formatter`` (", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L53"}, {"id": "init_rationale_78", "label": "This is the most high-level highlighting function. It combines `lex` and `fo", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L78"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L27", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "target": "init_lex", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L35", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "target": "init_format", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L52", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "target": "init_highlight", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L77", "weight": 1.0}, {"source": "init_highlight", "target": "init_format", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L82", "weight": 1.0}, {"source": "init_highlight", "target": "init_lex", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L82", "weight": 1.0}, {"source": "init_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pip_vendor_pygments_init_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L1", "weight": 1.0}, {"source": "init_rationale_36", "target": "init_lex", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L36", "weight": 1.0}, {"source": "init_rationale_53", "target": "init_format", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L53", "weight": 1.0}, {"source": "init_rationale_78", "target": "init_highlight", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L78", "weight": 1.0}], "raw_calls": [{"caller_nid": "init_lex", "callee": "get_tokens", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L42"}, {"caller_nid": "init_lex", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L46"}, {"caller_nid": "init_lex", "callee": "issubclass", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L46"}, {"caller_nid": "init_lex", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L47"}, {"caller_nid": "init_format", "callee": "getattr", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L63"}, {"caller_nid": "init_format", "callee": "BytesIO", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L63"}, {"caller_nid": "init_format", "callee": "StringIO", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L63"}, {"caller_nid": "init_format", "callee": "getvalue", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L65"}, {"caller_nid": "init_format", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L71"}, {"caller_nid": "init_format", "callee": "issubclass", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L71"}, {"caller_nid": "init_format", "callee": "TypeError", "source_file": "backend/venv/lib/python3.12/site-packages/pip/_vendor/pygments/__init__.py", "source_location": "L72"}]} |