()
| 104 | } |
| 105 | |
| 106 | func (child *valueNode) PopStep() (parent *valueNode) { |
| 107 | if child.parent == nil { |
| 108 | return nil |
| 109 | } |
| 110 | parent = child.parent |
| 111 | parent.NumSame += child.NumSame |
| 112 | parent.NumDiff += child.NumDiff |
| 113 | parent.NumIgnored += child.NumIgnored |
| 114 | parent.NumCompared += child.NumCompared |
| 115 | parent.NumTransformed += child.NumTransformed |
| 116 | parent.NumChildren += child.NumChildren + 1 |
| 117 | if parent.MaxDepth < child.MaxDepth+1 { |
| 118 | parent.MaxDepth = child.MaxDepth + 1 |
| 119 | } |
| 120 | return parent |
| 121 | } |
nothing calls this directly
no outgoing calls
no test coverage detected