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

Function logExpressionResultAndStartFrame

python/executor.py:513–523  ·  view source on GitHub ↗
(nodeType, childSet, expr)

Source from the content-addressed store, hash-verified

511
512
513def logExpressionResultAndStartFrame(nodeType, childSet, expr):
514 key = ast.Name(id=SPLOOT_KEY, ctx=ast.Load())
515 func = ast.Attribute(
516 value=key, attr="logExpressionResultAndStartFrame", ctx=ast.Load()
517 )
518 args = [
519 ast.Constant(nodeType),
520 ast.Constant(childSet),
521 expr,
522 ]
523 return ast.Call(func, args=args, keywords=[])
524
525def iterableLogExpressionResultAndStartFrame(nodeType, childset, iterable):
526 mapFunc = ast.Lambda(

Calls

no outgoing calls

Tested by

no test coverage detected