1 line
8.8 KiB
JSON
1 line
8.8 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "label": "ast_transforms.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L1"}, {"id": "ast_transforms_fix_switch_cases", "label": "fix_switch_cases()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L15"}, {"id": "ast_transforms_extract_nested_case", "label": "_extract_nested_case()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L101"}, {"id": "ast_transforms_fix_atomic_specifiers", "label": "fix_atomic_specifiers()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L113"}, {"id": "ast_transforms_fix_atomic_specifiers_once", "label": "_fix_atomic_specifiers_once()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L147"}, {"id": "ast_transforms_rationale_16", "label": "The 'case' statements in a 'switch' come out of parsing with one child node,", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L16"}, {"id": "ast_transforms_rationale_104", "label": "Recursively extract consecutive Case statements that are made nested by the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L104"}, {"id": "ast_transforms_rationale_116", "label": "Atomic specifiers like _Atomic(type) are unusually structured, conferring a", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L116"}, {"id": "ast_transforms_rationale_150", "label": "Performs one 'fix' round of atomic specifiers. Returns (modified_decl, found", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L150"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L10", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "backend_venv_lib_python3_12_site_packages_pycparser_init_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "ast_transforms_fix_switch_cases", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "ast_transforms_extract_nested_case", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L101", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "ast_transforms_fix_atomic_specifiers", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L113", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pycparser_ast_transforms_py", "target": "ast_transforms_fix_atomic_specifiers_once", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L147", "weight": 1.0}, {"source": "ast_transforms_fix_switch_cases", "target": "ast_transforms_extract_nested_case", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L87", "weight": 1.0}, {"source": "ast_transforms_fix_atomic_specifiers", "target": "ast_transforms_fix_atomic_specifiers_once", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L126", "weight": 1.0}, {"source": "ast_transforms_rationale_16", "target": "ast_transforms_fix_switch_cases", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L16", "weight": 1.0}, {"source": "ast_transforms_rationale_104", "target": "ast_transforms_extract_nested_case", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L104", "weight": 1.0}, {"source": "ast_transforms_rationale_116", "target": "ast_transforms_fix_atomic_specifiers", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L116", "weight": 1.0}, {"source": "ast_transforms_rationale_150", "target": "ast_transforms_fix_atomic_specifiers_once", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L150", "weight": 1.0}], "raw_calls": [{"caller_nid": "ast_transforms_fix_switch_cases", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L66"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L67"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "Compound", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L72"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L81"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L86"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L93"}, {"caller_nid": "ast_transforms_fix_switch_cases", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L95"}, {"caller_nid": "ast_transforms_extract_nested_case", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L107"}, {"caller_nid": "ast_transforms_extract_nested_case", "callee": "pop", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L108"}, {"caller_nid": "ast_transforms_extract_nested_case", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L109"}, {"caller_nid": "ast_transforms_extract_nested_case", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L110"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L134"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L140"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers_once", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L157"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers_once", "callee": "isinstance", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L169"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers_once", "callee": "cast", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L171"}, {"caller_nid": "ast_transforms_fix_atomic_specifiers_once", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pycparser/ast_transforms.py", "source_location": "L173"}]} |