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.

36 lines
880 B

  1. "use strict";
  2. exports.__esModule = true;
  3. exports.default = void 0;
  4. var _node = _interopRequireDefault(require("./node"));
  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 ID =
  9. /*#__PURE__*/
  10. function (_Node) {
  11. _inheritsLoose(ID, _Node);
  12. function ID(opts) {
  13. var _this;
  14. _this = _Node.call(this, opts) || this;
  15. _this.type = _types.ID;
  16. return _this;
  17. }
  18. var _proto = ID.prototype;
  19. _proto.valueToString = function valueToString() {
  20. return '#' + _Node.prototype.valueToString.call(this);
  21. };
  22. return ID;
  23. }(_node.default);
  24. exports.default = ID;
  25. module.exports = exports.default;