Last change
on this file since 188ee53 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports["default"] = void 0;
|
---|
5 |
|
---|
6 | var _node = _interopRequireDefault(require("./node"));
|
---|
7 |
|
---|
8 | var _types = require("./types");
|
---|
9 |
|
---|
10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
---|
11 |
|
---|
12 | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
---|
13 |
|
---|
14 | function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
---|
15 |
|
---|
16 | var ID = /*#__PURE__*/function (_Node) {
|
---|
17 | _inheritsLoose(ID, _Node);
|
---|
18 |
|
---|
19 | function ID(opts) {
|
---|
20 | var _this;
|
---|
21 |
|
---|
22 | _this = _Node.call(this, opts) || this;
|
---|
23 | _this.type = _types.ID;
|
---|
24 | return _this;
|
---|
25 | }
|
---|
26 |
|
---|
27 | var _proto = ID.prototype;
|
---|
28 |
|
---|
29 | _proto.valueToString = function valueToString() {
|
---|
30 | return '#' + _Node.prototype.valueToString.call(this);
|
---|
31 | };
|
---|
32 |
|
---|
33 | return ID;
|
---|
34 | }(_node["default"]);
|
---|
35 |
|
---|
36 | exports["default"] = ID;
|
---|
37 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.