Symbol.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.Macro = exports.Symbol = void 0;
  4. var Symbol = (function () {
  5. function Symbol(_symbol, _char, _attributes) {
  6. this._symbol = _symbol;
  7. this._char = _char;
  8. this._attributes = _attributes;
  9. }
  10. Object.defineProperty(Symbol.prototype, "symbol", {
  11. get: function () {
  12. return this._symbol;
  13. },
  14. enumerable: false,
  15. configurable: true
  16. });
  17. Object.defineProperty(Symbol.prototype, "char", {
  18. get: function () {
  19. return this._char;
  20. },
  21. enumerable: false,
  22. configurable: true
  23. });
  24. Object.defineProperty(Symbol.prototype, "attributes", {
  25. get: function () {
  26. return this._attributes;
  27. },
  28. enumerable: false,
  29. configurable: true
  30. });
  31. return Symbol;
  32. }());
  33. exports.Symbol = Symbol;
  34. var Macro = (function () {
  35. function Macro(_symbol, _func, _args) {
  36. if (_args === void 0) { _args = []; }
  37. this._symbol = _symbol;
  38. this._func = _func;
  39. this._args = _args;
  40. }
  41. Object.defineProperty(Macro.prototype, "symbol", {
  42. get: function () {
  43. return this._symbol;
  44. },
  45. enumerable: false,
  46. configurable: true
  47. });
  48. Object.defineProperty(Macro.prototype, "func", {
  49. get: function () {
  50. return this._func;
  51. },
  52. enumerable: false,
  53. configurable: true
  54. });
  55. Object.defineProperty(Macro.prototype, "args", {
  56. get: function () {
  57. return this._args;
  58. },
  59. enumerable: false,
  60. configurable: true
  61. });
  62. return Macro;
  63. }());
  64. exports.Macro = Macro;
  65. //# sourceMappingURL=Symbol.js.map