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

Method get_class_list

src/codetext/parser/php_parser.py:51–55  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

49
50 @staticmethod
51 def get_class_list(node):
52 res = get_node_by_kind(node, ['class_declaration',
53 'trait_declaration',
54 'interface_declaration'])
55 return res
56
57 @staticmethod
58 def get_function_list(node):

Callers

nothing calls this directly

Calls 1

get_node_by_kindFunction · 0.85

Tested by

no test coverage detected