src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Retrieves lhs nodes declared or assigned in a given assigning parent node.
   *
   * <p>An assigning parent node is one that assigns a value to one or more LHS nodes.
   */
Retrieves lhs nodes declared or assigned in a given assigning parent node.
An assigning parent node is one that assigns a value to one or more LHS nodes.
Retrieves lhs nodes declared or assigned in a given assigning parent node . An assigning parent node is one that assigns a value to one or more LHS nodes .
public static List<Node> findLhsNodesInNode(Node assigningParent) {
    checkArgument(
        isNameDeclaration(assigningParent)
            || assigningParent.isParamList()
            || isAssignmentOp(assigningParent)
            || assigningParent.isCatch()
            || assigningParent.isDestructuringLhs()
            || assigningParent.isDefaultValue()
            || assigningParent.isImport()
            || isEnhancedFor(assigningParent),
        assigningParent);
    ArrayList<Node> lhsNodes = new ArrayList<>();
    getLhsNodesHelper(assigningParent, lhsNodes);
    return lhsNodes;
  }
public static List < Node > findLhsNodesInNode ( Node assigningParent ) { checkArgument ( isNameDeclaration ( assigningParent ) || assigningParent . isParamList ( ) || isAssignmentOp ( assigningParent ) || assigningParent . isCatch ( ) || assigningParent . isDestructuringLhs ( ) || assigningParent . isDefaultValue ( ) || assigningParent . isImport ( ) || isEnhancedFor ( assigningParent ) , assigningParent ) ; ArrayList < Node > lhsNodes = new ArrayList < > ( ) ; getLhsNodesHelper ( assigningParent , lhsNodes ) ; return lhsNodes ; }
Retrieves lhs nodes declared or assigned in a given assigning parent node.
Retrieves lhs nodes declared or assigned in a given assigning parent node .
// enhanced for loops assign to loop variables