"use strict";

var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

/* Class representing a point. */
var Point = function () {
  /**
   * Create a point.
   * @name constructor
   * @param {number} x - The x value.
   * @param {number} y - The y value.
   */
  function Point(x, y) {
    _classCallCheck(this, Point);
  }
  // ...


  /**
   * Get the x value.
   * @name getX
   * @return {number} The x value.
   */


  _createClass(Point, [{
    key: "getX",
    value: function getX() {}
    // ...


    /**
     * Get the y value.
     * @name getY
     * @return {number} The y value.
     */

  }, {
    key: "getY",
    value: function getY() {}
    // ...


    /**
     * Convert a string containing two comma-separated numbers into a point.
     * @name fromString
     * @param {string} str - The string containing two comma-separated numbers.
     * @return {Point} A Point object.
     */

  }], [{
    key: "fromString",
    value: function fromString(str) {
      // ...
    }
  }]);

  return Point;
}();