src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Returns true if the current scope contains references to the 'super' keyword.
   * Note that if there are classes declared inside the current class, super calls which
   * reference those classes are not reported.
   */
Returns true if the current scope contains references to the 'super' keyword.
Note that if there are classes declared inside the current class, super calls which
reference those classes are not reported.
Returns true if the current scope contains references to the ' super ' keyword . Note that if there are classes declared inside the current class super calls which reference those classes are not reported .
static boolean referencesSuper(Node n) {
    Node curr = n.getFirstChild();
    while (curr != null) {
      if (containsType(curr, Token.SUPER, node -> !node.isClass())) {
        return true;
      }
      curr = curr.getNext();
    }
    return false;
  }
static boolean referencesSuper ( Node n ) { Node curr = n . getFirstChild ( ) ; while ( curr != null ) { if ( containsType ( curr , Token . SUPER , node -> ! node . isClass ( ) ) ) { return true ; } curr = curr . getNext ( ) ; } return false ; }
Returns true if the current scope contains references to the 'super' keyword.
Returns true if the current scope contains references to the ' super ' keyword .