1 line
8.3 KiB
JSON
1 line
8.3 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "label": "formatter.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L1"}, {"id": "formatter_lookup_style", "label": "_lookup_style()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L19"}, {"id": "formatter_formatter", "label": "Formatter", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L25"}, {"id": "formatter_formatter_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L83"}, {"id": "formatter_formatter_get_style_defs", "label": ".get_style_defs()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L99"}, {"id": "formatter_formatter_format", "label": ".format()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L114"}, {"id": "formatter_formatter_class_getitem", "label": ".__class_getitem__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L128"}, {"id": "formatter_rationale_1", "label": "pygments.formatter ~~~~~~~~~~~~~~~~~~ Base formatter class. :copyr", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L1"}, {"id": "formatter_rationale_26", "label": "Converts a token stream to text. Formatters should have attributes to help", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L26"}, {"id": "formatter_rationale_84", "label": "As with lexers, this constructor takes arbitrary optional arguments, and", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L84"}, {"id": "formatter_rationale_100", "label": "This method must return statements or declarations suitable to define th", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L100"}, {"id": "formatter_rationale_115", "label": "This method must format the tokens from the `tokensource` iterable and w", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L115"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "target": "codecs", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "target": "pygments_util", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "target": "pygments_styles", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L14", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "target": "formatter_lookup_style", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "target": "formatter_formatter", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L25", "weight": 1.0}, {"source": "formatter_formatter", "target": "formatter_formatter_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L83", "weight": 1.0}, {"source": "formatter_formatter", "target": "formatter_formatter_get_style_defs", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L99", "weight": 1.0}, {"source": "formatter_formatter", "target": "formatter_formatter_format", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L114", "weight": 1.0}, {"source": "formatter_formatter", "target": "formatter_formatter_class_getitem", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L128", "weight": 1.0}, {"source": "formatter_formatter_init", "target": "formatter_lookup_style", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L89", "weight": 1.0}, {"source": "formatter_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pygments_formatter_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L1", "weight": 1.0}, {"source": "formatter_rationale_26", "target": "formatter_formatter", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L26", "weight": 1.0}, {"source": "formatter_rationale_84", "target": "formatter_formatter_init", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L84", "weight": 1.0}, {"source": "formatter_rationale_100", "target": "formatter_formatter_get_style_defs", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L100", "weight": 1.0}, {"source": "formatter_rationale_115", "target": "formatter_formatter_format", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L115", "weight": 1.0}], "raw_calls": [{"caller_nid": "formatter_lookup_style", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L20"}, {"caller_nid": "formatter_lookup_style", "callee": "get_style_by_name", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L21"}, {"caller_nid": "formatter_formatter_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L89"}, {"caller_nid": "formatter_formatter_init", "callee": "get_bool_opt", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L90"}, {"caller_nid": "formatter_formatter_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L91"}, {"caller_nid": "formatter_formatter_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L92"}, {"caller_nid": "formatter_formatter_init", "callee": "get", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L96"}, {"caller_nid": "formatter_formatter_format", "callee": "codecs.lookup(self.encoding)[3]", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L123"}, {"caller_nid": "formatter_formatter_format", "callee": "lookup", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L123"}, {"caller_nid": "formatter_formatter_format", "callee": "format_unencoded", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/formatter.py", "source_location": "L124"}]} |