parentVisitor is a visitor that populates the coverageStats of a given expression based on the coverageStats of its direct children.
| 1111 | // parentVisitor is a visitor that populates the coverageStats of a given expression based on the |
| 1112 | // coverageStats of its direct children. |
| 1113 | type parentVisitor struct { |
| 1114 | coverageStats map[int64]set |
| 1115 | evalState interpreter.EvalState |
| 1116 | } |
| 1117 | |
| 1118 | // VisitExpr populates the coverageStats for the current expression based on the coverageStats of its direct children. |
| 1119 | func (pv parentVisitor) VisitExpr(e ast.Expr) { |
nothing calls this directly
no outgoing calls
no test coverage detected