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

Function startFrameStatement

python/executor.py:499–510  ·  view source on GitHub ↗
(nodeType, childSetName)

Source from the content-addressed store, hash-verified

497
498
499def startFrameStatement(nodeType, childSetName):
500 key = ast.Name(id=SPLOOT_KEY, ctx=ast.Load())
501 func = ast.Attribute(value=key, attr="startFrame", ctx=ast.Load())
502 start_frame = ast.Call(
503 func,
504 args=[
505 ast.Constant(nodeType),
506 ast.Constant(childSetName),
507 ],
508 keywords=[],
509 )
510 return ast.Expr(start_frame, lineno=1, col_offset=0)
511
512
513def logExpressionResultAndStartFrame(nodeType, childSet, expr):

Callers 2

generateForStatementFunction · 0.85
generateWhileStatementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected