code: static boolean isInvocationTarget(Node n) {
      Node parent = n.getParent();
      return parent != null && (isCallOrNew(parent) || parent.isTaggedTemplateLit())
          && parent.getFirstChild() == n;
    }
docs: Returns whether this is a target of a call or new.