1 line
14 KiB
JSON
1 line
14 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "label": "_tokenizer.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L1"}, {"id": "tokenizer_token", "label": "Token", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L12"}, {"id": "tokenizer_parsersyntaxerror", "label": "ParserSyntaxError", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L18"}, {"id": "exception", "label": "Exception", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "tokenizer_parsersyntaxerror_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L21"}, {"id": "tokenizer_parsersyntaxerror_str", "label": ".__str__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L34"}, {"id": "tokenizer_tokenizer", "label": "Tokenizer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L91"}, {"id": "tokenizer_tokenizer_init", "label": ".__init__()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L98"}, {"id": "tokenizer_tokenizer_consume", "label": ".consume()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L109"}, {"id": "tokenizer_tokenizer_check", "label": ".check()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L114"}, {"id": "tokenizer_tokenizer_expect", "label": ".expect()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L135"}, {"id": "tokenizer_tokenizer_read", "label": ".read()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L144"}, {"id": "tokenizer_tokenizer_raise_syntax_error", "label": ".raise_syntax_error()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L154"}, {"id": "tokenizer_enclosing_tokens", "label": "enclosing_tokens()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L173"}, {"id": "tokenizer_rationale_19", "label": "The provided source text could not be parsed correctly.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L19"}, {"id": "tokenizer_rationale_92", "label": "Context-sensitive token parsing. Provides methods to examine the input stre", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L92"}, {"id": "tokenizer_rationale_110", "label": "Move beyond provided token name, if at current position.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L110"}, {"id": "tokenizer_rationale_115", "label": "Check whether the next token has the provided name. By default, if the", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L115"}, {"id": "tokenizer_rationale_136", "label": "Expect a certain token name next, failing with a syntax error otherwise.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L136"}, {"id": "tokenizer_rationale_145", "label": "Consume the next token and return it.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L145"}, {"id": "tokenizer_rationale_161", "label": "Raise ParserSyntaxError at the given position.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L161"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "contextlib", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "dataclasses", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L5", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "typing", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L6", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "backend_venv_lib_python3_12_site_packages_packaging_specifiers_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "tokenizer_token", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "tokenizer_parsersyntaxerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L18", "weight": 1.0}, {"source": "tokenizer_parsersyntaxerror", "target": "exception", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L18", "weight": 1.0}, {"source": "tokenizer_parsersyntaxerror", "target": "tokenizer_parsersyntaxerror_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L21", "weight": 1.0}, {"source": "tokenizer_parsersyntaxerror", "target": "tokenizer_parsersyntaxerror_str", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "tokenizer_tokenizer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L91", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L98", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_consume", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L109", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_check", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L114", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_expect", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L135", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_read", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L144", "weight": 1.0}, {"source": "tokenizer_tokenizer", "target": "tokenizer_tokenizer_raise_syntax_error", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L154", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_packaging_tokenizer_py", "target": "tokenizer_enclosing_tokens", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L173", "weight": 1.0}, {"source": "tokenizer_parsersyntaxerror_init", "target": "tokenizer_tokenizer_init", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L32", "weight": 1.0}, {"source": "tokenizer_tokenizer_consume", "target": "tokenizer_tokenizer_check", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L111", "weight": 1.0}, {"source": "tokenizer_tokenizer_consume", "target": "tokenizer_tokenizer_read", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L112", "weight": 1.0}, {"source": "tokenizer_tokenizer_check", "target": "tokenizer_token", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L132", "weight": 1.0}, {"source": "tokenizer_tokenizer_expect", "target": "tokenizer_tokenizer_check", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L140", "weight": 1.0}, {"source": "tokenizer_tokenizer_expect", "target": "tokenizer_tokenizer_raise_syntax_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L141", "weight": 1.0}, {"source": "tokenizer_tokenizer_expect", "target": "tokenizer_tokenizer_read", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L142", "weight": 1.0}, {"source": "tokenizer_tokenizer_raise_syntax_error", "target": "tokenizer_parsersyntaxerror", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L166", "weight": 1.0}, {"source": "tokenizer_enclosing_tokens", "target": "tokenizer_tokenizer_check", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L176", "weight": 1.0}, {"source": "tokenizer_enclosing_tokens", "target": "tokenizer_tokenizer_read", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L178", "weight": 1.0}, {"source": "tokenizer_enclosing_tokens", "target": "tokenizer_tokenizer_raise_syntax_error", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L188", "weight": 1.0}, {"source": "tokenizer_rationale_19", "target": "tokenizer_parsersyntaxerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L19", "weight": 1.0}, {"source": "tokenizer_rationale_92", "target": "tokenizer_tokenizer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L92", "weight": 1.0}, {"source": "tokenizer_rationale_110", "target": "tokenizer_tokenizer_consume", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L110", "weight": 1.0}, {"source": "tokenizer_rationale_115", "target": "tokenizer_tokenizer_check", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L115", "weight": 1.0}, {"source": "tokenizer_rationale_136", "target": "tokenizer_tokenizer_expect", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L136", "weight": 1.0}, {"source": "tokenizer_rationale_145", "target": "tokenizer_tokenizer_read", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L145", "weight": 1.0}, {"source": "tokenizer_rationale_161", "target": "tokenizer_tokenizer_raise_syntax_error", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L161", "weight": 1.0}], "raw_calls": [{"caller_nid": "tokenizer_parsersyntaxerror_init", "callee": "super", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L32"}, {"caller_nid": "tokenizer_tokenizer_check", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L128"}, {"caller_nid": "tokenizer_tokenizer_read", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/packaging/_tokenizer.py", "source_location": "L149"}]} |