File size: 20,169 Bytes
c7a0c46
1
{".class": "MypyFile", "_fullname": "jax._src.debugger.colab_debugger", "future_import_flags": ["annotations"], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "CodeViewer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.debugger.colab_lib.DynamicDOMElement"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax._src.debugger.colab_debugger.CodeViewer", "name": "CodeViewer", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax._src.debugger.colab_debugger", "mro": ["jax._src.debugger.colab_debugger.CodeViewer", "jax._src.debugger.colab_lib.DynamicDOMElement", "jax._src.debugger.colab_lib.DOMElement", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1], "arg_names": ["self", "code_", "highlights", "linenostart"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1], "arg_names": ["self", "code_", "highlights", "linenostart"], "arg_types": ["jax._src.debugger.colab_debugger.CodeViewer", "builtins.str", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.list"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of CodeViewer", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_code": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer._code", "name": "_code", "type": "builtins.str"}}, "_highlight_code": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "code", "highlights", "linenostart"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer._highlight_code", "name": "_highlight_code", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "code", "highlights", "linenostart"], "arg_types": ["jax._src.debugger.colab_debugger.CodeViewer", "builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_highlight_code of CodeViewer", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "_highlights": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer._highlights", "name": "_highlights", "type": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.list"}}}, "_linenostart": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer._linenostart", "name": "_linenostart", "type": "builtins.int"}}, "_view": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer._view", "name": "_view", "type": "jax._src.debugger.colab_lib.DynamicDiv"}}, "append": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "child"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.append", "name": "append", "type": null}}, "clear": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.clear", "name": "clear", "type": null}}, "render": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.render", "name": "render", "type": null}}, "update": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "elem"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.update", "name": "update", "type": null}}, "update_code": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 5], "arg_names": ["self", "code_", "highlights", "linenostart"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.CodeViewer.update_code", "name": "update_code", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 5], "arg_names": ["self", "code_", "highlights", "linenostart"], "arg_types": ["jax._src.debugger.colab_debugger.CodeViewer", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "update_code of CodeViewer", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ColabDebugger": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.debugger.cli_debugger.CliDebugger"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax._src.debugger.colab_debugger.ColabDebugger", "name": "ColabDebugger", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "jax._src.debugger.colab_debugger", "mro": ["jax._src.debugger.colab_debugger.ColabDebugger", "jax._src.debugger.cli_debugger.CliDebugger", "cmd.Cmd", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "frames", "thread_id"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "frames", "thread_id"], "arg_types": ["jax._src.debugger.colab_debugger.ColabDebugger", {".class": "Instance", "args": ["jax._src.debugger.core.DebuggerFrame"], "type_ref": "builtins.list"}, "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of ColabDebugger", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "_debugger_view": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger._debugger_view", "name": "_debugger_view", "type": "jax._src.debugger.colab_debugger.DebuggerView"}}, "do_down": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "arg"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger.do_down", "name": "do_down", "type": null}}, "do_up": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "arg"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger.do_up", "name": "do_up", "type": null}}, "run": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.ColabDebugger.run", "name": "run", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "DebuggerView": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.debugger.colab_lib.DynamicDOMElement"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax._src.debugger.colab_debugger.DebuggerView", "name": "DebuggerView", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax._src.debugger.colab_debugger", "mro": ["jax._src.debugger.colab_debugger.DebuggerView", "jax._src.debugger.colab_lib.DynamicDOMElement", "jax._src.debugger.colab_lib.DOMElement", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 5], "arg_names": ["self", "frame", "log_color"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.__init__", "name": "__init__", "type": null}}, "_frame_preview": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView._frame_preview", "name": "_frame_preview", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_header": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView._header", "name": "_header", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_interaction_log": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView._interaction_log", "name": "_interaction_log", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "append": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "child"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.append", "name": "append", "type": null}}, "clear": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.clear", "name": "clear", "type": null}}, "flush": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.flush", "name": "flush", "type": null}}, "isatty": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.isatty", "name": "isatty", "type": null}}, "read": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.read", "name": "read", "type": null}}, "readline": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.readline", "name": "readline", "type": null}}, "render": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.render", "name": "render", "type": null}}, "update": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "elem"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.update", "name": "update", "type": null}}, "update_frame": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "frame"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.update_frame", "name": "update_frame", "type": null}}, "write": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "text"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.DebuggerView.write", "name": "write", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "FramePreview": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["jax._src.debugger.colab_lib.DynamicDOMElement"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "jax._src.debugger.colab_debugger.FramePreview", "name": "FramePreview", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview", "has_param_spec_type": false, "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "jax._src.debugger.colab_debugger", "mro": ["jax._src.debugger.colab_debugger.FramePreview", "jax._src.debugger.colab_lib.DynamicDOMElement", "jax._src.debugger.colab_lib.DOMElement", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "frame"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.__init__", "name": "__init__", "type": null}}, "_code_view": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview._code_view", "name": "_code_view", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_file_cache": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview._file_cache", "name": "_file_cache", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_header": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview._header", "name": "_header", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "append": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "child"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.append", "name": "append", "type": null}}, "clear": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.clear", "name": "clear", "type": null}}, "frame": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.frame", "name": "frame", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "render": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.render", "name": "render", "type": null}}, "update": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "elem"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.update", "name": "update", "type": null}}, "update_frame": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "frame"], "flags": [], "fullname": "jax._src.debugger.colab_debugger.FramePreview.update_frame", "name": "update_frame", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "IO": {".class": "SymbolTableNode", "cross_ref": "typing.IO", "kind": "Gdef"}, "IS_PYGMENTS_ENABLED": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "jax._src.debugger.colab_debugger.IS_PYGMENTS_ENABLED", "name": "IS_PYGMENTS_ENABLED", "type": "builtins.bool"}}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.debugger.colab_debugger.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.debugger.colab_debugger.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.debugger.colab_debugger.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.debugger.colab_debugger.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "jax._src.debugger.colab_debugger.__package__", "name": "__package__", "type": "builtins.str"}}, "_run_debugger": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 4], "arg_names": ["frames", "thread_id", "kwargs"], "flags": [], "fullname": "jax._src.debugger.colab_debugger._run_debugger", "name": "_run_debugger", "type": null}}, "annotations": {".class": "SymbolTableNode", "cross_ref": "__future__.annotations", "kind": "Gdef"}, "cli_debugger": {".class": "SymbolTableNode", "cross_ref": "jax._src.debugger.cli_debugger", "kind": "Gdef"}, "colab_lib": {".class": "SymbolTableNode", "cross_ref": "jax._src.debugger.colab_lib", "kind": "Gdef"}, "debugger_core": {".class": "SymbolTableNode", "cross_ref": "jax._src.debugger.core", "kind": "Gdef"}, "html": {".class": "SymbolTableNode", "cross_ref": "html", "kind": "Gdef"}, "inspect": {".class": "SymbolTableNode", "cross_ref": "inspect", "kind": "Gdef"}, "output": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "jax._src.debugger.colab_debugger.output", "name": "output", "type": {".class": "AnyType", "missing_import_name": "jax._src.debugger.colab_debugger.output", "source_any": null, "type_of_any": 3}}}, "pygments": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "jax._src.debugger.colab_debugger.pygments", "name": "pygments", "type": {".class": "AnyType", "missing_import_name": "jax._src.debugger.colab_debugger.pygments", "source_any": null, "type_of_any": 3}}}, "traceback": {".class": "SymbolTableNode", "cross_ref": "traceback", "kind": "Gdef"}, "uuid": {".class": "SymbolTableNode", "cross_ref": "uuid", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/jax/_src/debugger/colab_debugger.py"}