forEachConstructionCallExpr invokes fn for every call expression that runs as part of executing body.
(body *ast.BlockStmt, fn func(*ast.CallExpr))
| 106 | // forEachConstructionCallExpr invokes fn for every call expression that runs as |
| 107 | // part of executing body. |
| 108 | func forEachConstructionCallExpr(body *ast.BlockStmt, fn func(*ast.CallExpr)) { |
| 109 | inspectConstructionBody(body, func(n ast.Node) { |
| 110 | if call, ok := n.(*ast.CallExpr); ok { |
| 111 | fn(call) |
| 112 | } |
| 113 | }) |
| 114 | } |
no test coverage detected