MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / node_call

Function node_call

ngrams.py:122–134  ·  view source on GitHub ↗
(node: dict)

Source from the content-addressed store, hash-verified

120
121
122def node_call(node: dict) -> ASTNodeIdentifier:
123 stmt = ASTNodeIdentifier(label=None, node_type='call')
124
125 func = ASTNodeIdentifier(node_type='call_func')
126 func += extract_identifier(node['func'])
127 stmt += func
128
129 args = ASTNodeIdentifier(node_type='call_args')
130 for arg in node['args']:
131 args += extract_identifier(arg)
132
133 stmt += args
134 return stmt
135
136
137def node_module(node: dict) -> ASTNodeIdentifier:

Callers

nothing calls this directly

Calls 2

ASTNodeIdentifierClass · 0.85
extract_identifierFunction · 0.85

Tested by

no test coverage detected