web 3d图形渲染器
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.0 KiB

  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = void 0;
  4. var _container = _interopRequireDefault(require("./container"));
  5. var _types = require("./types");
  6. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  7. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
  8. var Pseudo =
  9. /*#__PURE__*/
  10. function (_Container) {
  11. _inheritsLoose(Pseudo, _Container);
  12. function Pseudo(opts) {
  13. var _this;
  14. _this = _Container.call(this, opts) || this;
  15. _this.type = _types.PSEUDO;
  16. return _this;
  17. }
  18. var _proto = Pseudo.prototype;
  19. _proto.toString = function toString() {
  20. var params = this.length ? '(' + this.map(String).join(',') + ')' : '';
  21. return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join('');
  22. };
  23. return Pseudo;
  24. }(_container.default);
  25. exports.default = Pseudo;
  26. module.exports = exports.default;