(nodes []*ast.Node)
| 246 | return nodes[0] |
| 247 | } |
| 248 | |
| 249 | func findTransformationIndexContainingNode(flow *typeparser.PipingFlow, target *ast.Node) int { |
| 250 | if flow == nil || target == nil { |
| 251 | return -1 |
| 252 | } |
| 253 | target = ast.SkipParentheses(target) |
| 254 | for i := range flow.Transformations { |
| 255 | transformation := flow.Transformations[i] |
| 256 | callee := ast.SkipParentheses(transformation.Callee) |
no outgoing calls
no test coverage detected