src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Determines whether a node represents an object literal key (e.g. key1 in {key1: value1, key2:
   * value2}). Computed properties are excluded here (see b/111621528).
   *
   * @param node A node
   */
Determines whether a node represents an object literal key . Computed properties are excluded here .

@param node A node
Determines whether a node represents an object literal key . Computed properties are excluded here . @param node A node
static boolean isObjectLitKey(Node node) {
    switch (node.getToken()) {
      case STRING_KEY:
      case GETTER_DEF:
      case SETTER_DEF:
      case MEMBER_FUNCTION_DEF:
        return true;
      default:
        return false;
    }
  }
static boolean isObjectLitKey ( Node node ) { switch ( node . getToken ( ) ) { case STRING_KEY : case GETTER_DEF : case SETTER_DEF : case MEMBER_FUNCTION_DEF : return true ; default : return false ; } }
Determines whether a node represents an object literal key (e.g.
Determines whether a node represents an object literal key ( e . g .