MCPcopy Create free account
hub / github.com/SplootCode/splootcode / generateList

Function generateList

python/executor.py:50–53  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

48 return memberExpr
49
50def generateList(node):
51 els = [generateAstExpression(el) for el in node['childSets']['elements']]
52 els = [el for el in els if el is not None]
53 return ast.List(els, ast.Load())
54
55def generateTuple(node):
56 els = [generateAstExpression(el) for el in node['childSets']['elements']]

Callers 1

Calls 1

generateAstExpressionFunction · 0.70

Tested by

no test coverage detected