code: private boolean validRecordTypeExpression(Node expr) {
      // The expression must have at least two children. The record keyword and
      // a record expression
      if (!checkParameterCount(expr, Keywords.RECORD)) {
        return false;
      }
      // Each child must be a valid record
      for (int i = 0; i < getCallParamCount(expr); i++) {
        if (!validRecordParam(getCallArgument(expr, i))) {
          warnInvalidInside(Keywords.RECORD.name, expr);
          return false;
        }
      }
      return true;
    }
docs: A record type expression must be of the form:
  record(RecordExp, RecordExp, ...)