MCPcopy Create free account
hub / github.com/FSoft-AI4Code/CodeText-parser / get_comment_node

Method get_comment_node

src/codetext/parser/php_parser.py:46–48  ·  view source on GitHub ↗
(function_node)

Source from the content-addressed store, hash-verified

44
45 @staticmethod
46 def get_comment_node(function_node):
47 comment_node = get_node_by_kind(function_node, kind='comment')
48 return comment_node
49
50 @staticmethod
51 def get_class_list(node):

Callers

nothing calls this directly

Calls 1

get_node_by_kindFunction · 0.85

Tested by

no test coverage detected