mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
29 lines
441 B
JavaScript
29 lines
441 B
JavaScript
|
|
/** @constructor */
|
|
function Data() {
|
|
|
|
/**
|
|
The current position.
|
|
@enum {number}
|
|
*/
|
|
this.point = {
|
|
/** The x coordinate of the point. */
|
|
x: 0,
|
|
|
|
/** The y coordinate of the point. */
|
|
y: 0
|
|
};
|
|
}
|
|
|
|
/**
|
|
* Enum for tri-state values.
|
|
* @enum {number}
|
|
*/
|
|
TriState = {
|
|
/** true */
|
|
TRUE: 1,
|
|
/** false */
|
|
FALSE: -1,
|
|
/** @type {boolean} */
|
|
MAYBE: true
|
|
}; |