stripFirstThisPathComponent removes the first component of every dag.This.Path in e.
(e dag.Expr)
| 174 | |
| 175 | // stripFirstThisPathComponent removes the first component of every dag.This.Path in e. |
| 176 | func stripFirstThisPathComponent(e dag.Expr) { |
| 177 | walkT(reflect.ValueOf(e), func(t dag.ThisExpr) dag.ThisExpr { |
| 178 | t.Path = t.Path[1:] |
| 179 | return t |
| 180 | }) |
| 181 | } |
no test coverage detected