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

Function node_print

ngrams.py:232–246  ·  view source on GitHub ↗
(node: dict)

Source from the content-addressed store, hash-verified

230
231
232def node_print(node: dict) -> ASTNodeIdentifier:
233 stmt = ASTNodeIdentifier(node_type='print')
234
235 dest = ASTNodeIdentifier(node_type='print_dest')
236 dest += extract_identifier(node['dest'])
237 stmt += dest
238
239 values = ASTNodeIdentifier(node_type='print_values')
240 for v in node['values']:
241 value = ASTNodeIdentifier(node_type='print_value')
242 value += extract_identifier(v)
243 values += value
244
245 stmt += values
246 return stmt
247
248
249def node_if(node: dict) -> ASTNodeIdentifier:

Callers

nothing calls this directly

Calls 2

ASTNodeIdentifierClass · 0.85
extract_identifierFunction · 0.85

Tested by

no test coverage detected