Files
sedona_editor/graphify-out/cache/ast/v0.9.64-s4/28a6dad3abd45f43c38e91665e722a12e97f08c18700b431e0b61fd000f45840.json

1 line
15 KiB
JSON

{"nodes": [{"id": "$graphify-root$_sax_dom_py", "label": "sax_dom.py", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L1"}, {"id": "$graphify-root$_sax_dom_snapshot_children", "label": "snapshot_children()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L10", "_callable": true}, {"id": "$graphify-root$_sax_dom_restore_children", "label": "restore_children()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L19", "_callable": true}, {"id": "$graphify-root$_sax_dom_set_prop_value", "label": "set_prop_value()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L29", "_callable": true}, {"id": "$graphify-root$_sax_dom_remove_prop", "label": "remove_prop()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L50", "_callable": true}, {"id": "$graphify-root$_sax_dom_read_meta_property", "label": "read_meta_property()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L57", "_callable": true}, {"id": "$graphify-root$_sax_dom_update_meta_property", "label": "update_meta_property()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L83", "_callable": true}, {"id": "$graphify-root$_sax_dom_update_meta_groups", "label": "update_meta_groups()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L108", "_callable": true}, {"id": "$graphify-root$_sax_dom_find_parent_element", "label": "find_parent_element()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L137", "_callable": true}, {"id": "$graphify-root$_sax_dom_find_component_by_path", "label": "find_component_by_path()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L145", "_callable": true}, {"id": "$graphify-root$_sax_dom_get_component_path", "label": "get_component_path()", "file_type": "code", "source_file": "sax_dom.py", "source_location": "L173", "_callable": true}, {"id": "$graphify-root$_sax_dom_rationale_1", "label": "Document-level helpers for a Sedona app: the packed 'meta' property and\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L1"}, {"id": "$graphify-root$_sax_dom_rationale_11", "label": "Copies an element's children and leading text, so it can be put back wholesale.\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L11"}, {"id": "$graphify-root$_sax_dom_rationale_20", "label": "Puts back what snapshot_children captured, whitespace and all.", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L20"}, {"id": "$graphify-root$_sax_dom_rationale_30", "label": "Writes a component's <prop>, creating it in the block the other props sit in. A\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L30"}, {"id": "$graphify-root$_sax_dom_rationale_51", "label": "Drops a component's <prop>, for undoing a value that the file never carried.", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L51"}, {"id": "$graphify-root$_sax_dom_rationale_58", "label": "Parses 32-bit meta property integer fields via structured byte extraction rules.", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L58"}, {"id": "$graphify-root$_sax_dom_rationale_84", "label": "Re-encodes coordinates back into meta, completely preserving existing lower and\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L84"}, {"id": "$graphify-root$_sax_dom_rationale_109", "label": "Rewrites only meta's four user-group bits, leaving the packed position alone.\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L109"}, {"id": "$graphify-root$_sax_dom_rationale_138", "label": "Traverses the XML DOM tree recursively to find the parent element of a given\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L138"}, {"id": "$graphify-root$_sax_dom_rationale_146", "label": "The component an absolute path names, or None if the document has no such node.\u2026", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L146"}, {"id": "$graphify-root$_sax_dom_rationale_174", "label": "Computes the absolute path of a component within the application tree hierarchy.", "file_type": "rationale", "source_file": "sax_dom.py", "source_location": "L174"}], "edges": [{"source": "$graphify-root$_sax_dom_py", "target": "copy", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L6", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "xml_etree_elementtree", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L7", "weight": 1.0, "local_alias": "ET"}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_snapshot_children", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L10", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_restore_children", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L19", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_set_prop_value", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L29", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_remove_prop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L50", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_read_meta_property", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L57", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_update_meta_property", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L83", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_update_meta_groups", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L108", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_find_parent_element", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L137", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_find_component_by_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L145", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_py", "target": "$graphify-root$_sax_dom_get_component_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L173", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_update_meta_property", "target": "$graphify-root$_sax_dom_read_meta_property", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L85", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_update_meta_groups", "target": "$graphify-root$_sax_dom_read_meta_property", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L115", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_get_component_path", "target": "$graphify-root$_sax_dom_find_parent_element", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L179", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_1", "target": "$graphify-root$_sax_dom_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_11", "target": "$graphify-root$_sax_dom_snapshot_children", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L11", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_20", "target": "$graphify-root$_sax_dom_restore_children", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L20", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_30", "target": "$graphify-root$_sax_dom_set_prop_value", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_51", "target": "$graphify-root$_sax_dom_remove_prop", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L51", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_58", "target": "$graphify-root$_sax_dom_read_meta_property", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L58", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_84", "target": "$graphify-root$_sax_dom_update_meta_property", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_109", "target": "$graphify-root$_sax_dom_update_meta_groups", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L109", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_138", "target": "$graphify-root$_sax_dom_find_parent_element", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L138", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_146", "target": "$graphify-root$_sax_dom_find_component_by_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L146", "weight": 1.0}, {"source": "$graphify-root$_sax_dom_rationale_174", "target": "$graphify-root$_sax_dom_get_component_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "sax_dom.py", "source_location": "L174", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_sax_dom_snapshot_children", "callee": "deepcopy", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L16", "receiver": "copy"}, {"caller_nid": "$graphify-root$_sax_dom_restore_children", "callee": "remove", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L23", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_restore_children", "callee": "append", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L26", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_restore_children", "callee": "deepcopy", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L26", "receiver": "copy"}, {"caller_nid": "$graphify-root$_sax_dom_set_prop_value", "callee": "find", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L36", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_set_prop_value", "callee": "set", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L38", "receiver": "prop"}, {"caller_nid": "$graphify-root$_sax_dom_set_prop_value", "callee": "Element", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L41", "receiver": "ET"}, {"caller_nid": "$graphify-root$_sax_dom_set_prop_value", "callee": "insert", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L46", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_remove_prop", "callee": "find", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L52", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_remove_prop", "callee": "remove", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L54", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_read_meta_property", "callee": "startswith", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L62", "receiver": "meta_str"}, {"caller_nid": "$graphify-root$_sax_dom_read_meta_property", "callee": "startswith", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L62", "receiver": "meta_str"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_property", "callee": "find", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L101", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_property", "callee": "SubElement", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L103", "receiver": "ET"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_property", "callee": "set", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L105", "receiver": "meta_prop"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_groups", "callee": "find", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L130", "receiver": "element"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_groups", "callee": "SubElement", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L132", "receiver": "ET"}, {"caller_nid": "$graphify-root$_sax_dom_update_meta_groups", "callee": "set", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L134", "receiver": "meta_prop"}, {"caller_nid": "$graphify-root$_sax_dom_find_parent_element", "callee": "iter", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L139", "receiver": "root_elem"}, {"caller_nid": "$graphify-root$_sax_dom_find_component_by_path", "callee": "split", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L155", "receiver": "path"}, {"caller_nid": "$graphify-root$_sax_dom_find_component_by_path", "callee": "find", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L159", "receiver": "root_elem"}, {"caller_nid": "$graphify-root$_sax_dom_find_component_by_path", "callee": "get", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L165", "receiver": "child"}, {"caller_nid": "$graphify-root$_sax_dom_get_component_path", "callee": "append", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L178", "receiver": "path_parts"}, {"caller_nid": "$graphify-root$_sax_dom_get_component_path", "callee": "get", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L178", "receiver": "curr"}, {"caller_nid": "$graphify-root$_sax_dom_get_component_path", "callee": "reverse", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L180", "receiver": "path_parts"}, {"caller_nid": "$graphify-root$_sax_dom_get_component_path", "callee": "join", "is_member_call": true, "source_file": "sax_dom.py", "source_location": "L181", "receiver": null}]}