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

Function node_module

ngrams.py:137–145  ·  view source on GitHub ↗
(node: dict)

Source from the content-addressed store, hash-verified

135
136
137def node_module(node: dict) -> ASTNodeIdentifier:
138 stmt = ASTNodeIdentifier(label=None, node_type='module')
139 body = ASTNodeIdentifier(label=None, node_type='module_body')
140
141 for b in node['body']:
142 body += extract_identifier(b)
143
144 stmt += body
145 return stmt
146
147
148def node_expr(node: dict) -> ASTNodeIdentifier:

Callers

nothing calls this directly

Calls 2

ASTNodeIdentifierClass · 0.85
extract_identifierFunction · 0.85

Tested by

no test coverage detected