info.js 769 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @import {Info as InfoType} from 'property-information'
  3. */
  4. /** @type {InfoType} */
  5. export class Info {
  6. /**
  7. * @param {string} property
  8. * Property.
  9. * @param {string} attribute
  10. * Attribute.
  11. * @returns
  12. * Info.
  13. */
  14. constructor(property, attribute) {
  15. this.attribute = attribute
  16. this.property = property
  17. }
  18. }
  19. Info.prototype.attribute = ''
  20. Info.prototype.booleanish = false
  21. Info.prototype.boolean = false
  22. Info.prototype.commaOrSpaceSeparated = false
  23. Info.prototype.commaSeparated = false
  24. Info.prototype.defined = false
  25. Info.prototype.mustUseProperty = false
  26. Info.prototype.number = false
  27. Info.prototype.overloadedBoolean = false
  28. Info.prototype.property = ''
  29. Info.prototype.spaceSeparated = false
  30. Info.prototype.space = undefined