MCPcopy Create free account
hub / github.com/Persper/code-analytics / get_name

Function get_name

persper/graphs/call_graph/java.py:37–39  ·  view source on GitHub ↗

Helper function to first find name node and then parse name

(node)

Source from the content-addressed store, hash-verified

35
36
37def get_name(node):
38 """Helper function to first find name node and then parse name"""
39 return handle_name_node(node.find('srcml:name', ns))
40
41
42def get_type(node):

Callers 6

handle_decl_stmt_nodeFunction · 0.70
handle_call_nodeFunction · 0.70
handle_func_nodeFunction · 0.70
handle_class_nodeFunction · 0.70
prepare_env_classFunction · 0.70
get_func_ranges_javaFunction · 0.70

Calls 1

handle_name_nodeFunction · 0.70

Tested by

no test coverage detected