code: static String getObjectLitKeyName(Node key) {
      Node keyNode = getObjectLitKeyNode(key);
      if (keyNode != null) {
        return keyNode.getString();
      }
      throw new IllegalStateException("Unexpected node type: " + key);
    }
docs: Get the name of an object literal key.
  
  @param key A node