docs: private void validateWindowedSyntax() {
          // Check that the aggregate is one of the supported ones, and
          // that the number of aggregate parameters is right.
          switch (opType) {
          case OpTypes.WINDOWED_RANK:
          case OpTypes.WINDOWED_DENSE_RANK:
          case OpTypes.WINDOWED_ROW_NUMBER:
              if (nodes.length != 0) {
                  throw Error.error("Windowed Aggregate " + OpTypes.aggregateName(opType) + " expects no arguments.", "", 0);
              }
              break;
          case OpTypes.WINDOWED_COUNT:
          case OpTypes.WINDOWED_MIN:
          case OpTypes.WINDOWED_MAX:
          case OpTypes.WINDOWED_SUM:
          	break;
          default:
              throw Error.error("Unsupported window function " + OpTypes.aggregateName(opType), "", 0);
          }
      }