We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bdacdc4 + 99ffe7d commit 49dae61Copy full SHA for 49dae61
src/codetext/codetext_cli.py
@@ -53,15 +53,15 @@ def parse_file(file_path: str, language: str = None, verbose: bool = False) -> L
53
cls_info["code"] = get_node_text(_cls)
54
55
cls_method = []
56
- method_list = parser.get_function_list(_cls)
57
- for method in method_list:
+ current_class_methods = parser.get_function_list(_cls)
+ for method in current_class_methods:
58
method_info = parser.get_function_metadata(method)
59
method_info['code'] = get_node_text(method)
60
cls_method.append(method_info)
61
62
cls_info["method"] = cls_method
63
cls_metadata.append(cls_info)
64
- method_list.extend(method_list)
+ method_list.extend(current_class_methods)
65
66
fn_list: List = parser.get_function_list(root_node)
67
for node in fn_list[:]:
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments