src/com/google/javascript/jscomp/NodeUtil.java
/**
   * Returns true if the operator is associative.
   * e.g. (a * b) * c = a * (b * c)
   * Note: "+" is not associative because it is also the concatenation
   * for strings. e.g. "a" + (1 + 2) is not "a" + 1 + 2
   */
Returns true if the operator is associative.
Returns true if the operator is associative .
static boolean isAssociative(Token type) {
    switch (type) {
      case MUL:
      case AND:
      case OR:
      case BITOR:
      case BITXOR:
      case BITAND:
        return true;
      default:
        return false;
    }
  }
static boolean isAssociative ( Token type ) { switch ( type ) { case MUL : case AND : case OR : case BITOR : case BITXOR : case BITAND : return true ; default : return false ; } }
Returns true if the operator is associative.
Returns true if the operator is associative .