(node *ast.Node)
| 116 | } |
| 117 | |
| 118 | func isInCompoundLikeAssignment(node *ast.Node) bool { |
| 119 | target := ast.GetAssignmentTarget(node) |
| 120 | return target != nil && ast.IsAssignmentExpression(target /*excludeCompoundAssignment*/, true) && isCompoundLikeAssignment(target) |
| 121 | } |
| 122 | |
| 123 | func isCompoundLikeAssignment(assignment *ast.Node) bool { |
| 124 | right := ast.SkipParentheses(assignment.AsBinaryExpression().Right) |
no test coverage detected