(nodeType, childSetName)
| 497 | |
| 498 | |
| 499 | def 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 | |
| 513 | def logExpressionResultAndStartFrame(nodeType, childSet, expr): |
no outgoing calls
no test coverage detected