1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "label": "ruby.py", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L1"}, {"id": "ruby_rubylexer", "label": "RubyLexer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L28"}, {"id": "extendedregexlexer", "label": "ExtendedRegexLexer", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ruby_rubylexer_heredoc_callback", "label": ".heredoc_callback()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L43"}, {"id": "ruby_rubylexer_gen_rubystrings_rules", "label": ".gen_rubystrings_rules()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L90"}, {"id": "ruby_rubylexer_analyse_text", "label": ".analyse_text()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L392"}, {"id": "ruby_rubyconsolelexer", "label": "RubyConsoleLexer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L396"}, {"id": "lexer", "label": "Lexer", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ruby_rubyconsolelexer_get_tokens_unprocessed", "label": ".get_tokens_unprocessed()", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L410"}, {"id": "ruby_fancylexer", "label": "FancyLexer", "file_type": "code", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L435"}, {"id": "regexlexer", "label": "RegexLexer", "file_type": "code", "source_file": "", "source_location": ""}, {"id": "ruby_rationale_1", "label": "pygments.lexers.ruby ~~~~~~~~~~~~~~~~~~~~ Lexers for Ruby and related l", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L1"}, {"id": "ruby_rationale_29", "label": "For Ruby source code.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L29"}, {"id": "ruby_rationale_397", "label": "For Ruby interactive console (**irb**) output.", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L397"}, {"id": "ruby_rationale_436", "label": "Pygments Lexer For Fancy. Fancy is a self-hosted, pure object-oriented, dyn", "file_type": "rationale", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L436"}], "edges": [{"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "re", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L11", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "pygments_lexer", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L13", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "pygments_token", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L15", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "pygments_util", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L17", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "ruby_rubylexer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L28", "weight": 1.0}, {"source": "ruby_rubylexer", "target": "extendedregexlexer", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L28", "weight": 1.0}, {"source": "ruby_rubylexer", "target": "ruby_rubylexer_heredoc_callback", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L43", "weight": 1.0}, {"source": "ruby_rubylexer", "target": "ruby_rubylexer_gen_rubystrings_rules", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L90", "weight": 1.0}, {"source": "ruby_rubylexer", "target": "ruby_rubylexer_analyse_text", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L392", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "ruby_rubyconsolelexer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L396", "weight": 1.0}, {"source": "ruby_rubyconsolelexer", "target": "lexer", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L396", "weight": 1.0}, {"source": "ruby_rubyconsolelexer", "target": "ruby_rubyconsolelexer_get_tokens_unprocessed", "relation": "method", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L410", "weight": 1.0}, {"source": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "target": "ruby_fancylexer", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L435", "weight": 1.0}, {"source": "ruby_fancylexer", "target": "regexlexer", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L435", "weight": 1.0}, {"source": "ruby_rubylexer_heredoc_callback", "target": "ruby_rubyconsolelexer_get_tokens_unprocessed", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L61", "weight": 1.0}, {"source": "ruby_rubyconsolelexer_get_tokens_unprocessed", "target": "ruby_rubylexer", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L411", "weight": 1.0}, {"source": "ruby_rationale_1", "target": "backend_venv_lib_python3_12_site_packages_pygments_lexers_ruby_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L1", "weight": 1.0}, {"source": "ruby_rationale_29", "target": "ruby_rubylexer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L29", "weight": 1.0}, {"source": "ruby_rationale_397", "target": "ruby_rubyconsolelexer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L397", "weight": 1.0}, {"source": "ruby_rationale_436", "target": "ruby_fancylexer", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L436", "weight": 1.0}], "raw_calls": [{"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L47"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L48"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L49"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L49"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L50"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L50"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L51"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L51"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "setdefault", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L53"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "bool", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L54"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L55"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L55"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L55"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L57"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "end", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L58"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L60"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L63"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "end", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L64"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "finditer", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L70"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "strip", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L72"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L72"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "rstrip", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L74"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L74"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L77"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L77"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L78"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L78"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "end", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L79"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L82"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L86"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L86"}, {"caller_nid": "ruby_rubylexer_heredoc_callback", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L87"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "words", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L111"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "bygroups", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L115"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "include", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L127"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "include", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L143"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L147"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L156"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "include", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L162"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L166"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "bygroups", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L181"}, {"caller_nid": "ruby_rubylexer_gen_rubystrings_rules", "callee": "bygroups", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L185"}, {"caller_nid": "ruby_rubylexer_analyse_text", "callee": "shebang_matches", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L393"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "finditer", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L415"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "group", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L416"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "match", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L417"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "end", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L419"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "append", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L420"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "len", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L420"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "do_insertions", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L425"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "start", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L429"}, {"caller_nid": "ruby_rubyconsolelexer_get_tokens_unprocessed", "callee": "do_insertions", "source_file": "backend/venv/lib/python3.12/site-packages/pygments/lexers/ruby.py", "source_location": "L431"}]} |