enumtag2.js 498 B

123456789101112131415161718192021222324252627282930313233
  1. /** @module my/enums */
  2. /**
  3. * Enum for quad-state values.
  4. * @enum {number}
  5. * @memberof module:my/enums
  6. */
  7. var QuadState = exports.QuadState = {
  8. /** true */
  9. TRUE: 1,
  10. FALSE: -1,
  11. MAYBE: 0,
  12. UNKNOWN: -99
  13. };
  14. /**
  15. * Enum for penta-state values.
  16. * @enum {number}
  17. */
  18. exports.PentaState =
  19. /**
  20. * Enum for penta-state values, BUT SHOUTIER.
  21. * @enum {number}
  22. */
  23. exports.PENTASTATE = {
  24. /** true */
  25. TRUE: 1,
  26. FALSE: -1,
  27. MAYBE: 0,
  28. UNKNOWN: -99,
  29. DONTCARE: 99
  30. };