src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Returns whether this is a target of a call or new.
   */
Returns whether this is a target of a call or new.
Returns whether this is a target of a call or new .
static boolean isInvocationTarget(Node n) {
    Node parent = n.getParent();
    return parent != null && (isCallOrNew(parent) || parent.isTaggedTemplateLit())
        && parent.getFirstChild() == n;
  }
static boolean isInvocationTarget ( Node n ) { Node parent = n . getParent ( ) ; return parent != null && ( isCallOrNew ( parent ) || parent . isTaggedTemplateLit ( ) ) && parent . getFirstChild ( ) == n ; }
Returns whether this is a target of a call or new.
Returns whether this is a target of a call or new .