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
37 lines
1.0 KiB
"use strict"; |
|
|
|
exports.__esModule = true; |
|
exports["default"] = void 0; |
|
|
|
var _node = _interopRequireDefault(require("./node")); |
|
|
|
var _types = require("./types"); |
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
|
|
|
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } |
|
|
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } |
|
|
|
var ID = /*#__PURE__*/function (_Node) { |
|
_inheritsLoose(ID, _Node); |
|
|
|
function ID(opts) { |
|
var _this; |
|
|
|
_this = _Node.call(this, opts) || this; |
|
_this.type = _types.ID; |
|
return _this; |
|
} |
|
|
|
var _proto = ID.prototype; |
|
|
|
_proto.valueToString = function valueToString() { |
|
return '#' + _Node.prototype.valueToString.call(this); |
|
}; |
|
|
|
return ID; |
|
}(_node["default"]); |
|
|
|
exports["default"] = ID; |
|
module.exports = exports.default; |