src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Determines whether the given node is a FOR, DO, or WHILE node.
   */
Determines whether the given node is a FOR, DO, or WHILE node.
Determines whether the given node is a FOR DO or WHILE node .
static boolean isLoopStructure(Node n) {
    switch (n.getToken()) {
      case FOR:
      case FOR_IN:
      case FOR_OF:
      case FOR_AWAIT_OF:
      case DO:
      case WHILE:
        return true;
      default:
        return false;
    }
  }
static boolean isLoopStructure ( Node n ) { switch ( n . getToken ( ) ) { case FOR : case FOR_IN : case FOR_OF : case FOR_AWAIT_OF : case DO : case WHILE : return true ; default : return false ; } }
Determines whether the given node is a FOR, DO, or WHILE node.
Determines whether the given node is a FOR DO or WHILE node .