main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
498 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.default = void 0;
|
---|
5 | var _apidomCore = require("@swagger-api/apidom-core");
|
---|
6 | class Visitor {
|
---|
7 | element;
|
---|
8 | constructor(options = {}) {
|
---|
9 | Object.assign(this, options);
|
---|
10 | }
|
---|
11 |
|
---|
12 | // eslint-disable-next-line class-methods-use-this
|
---|
13 | copyMetaAndAttributes(from, to) {
|
---|
14 | // copy sourcemaps
|
---|
15 | if ((0, _apidomCore.hasElementSourceMap)(from)) {
|
---|
16 | to.meta.set('sourceMap', from.meta.get('sourceMap'));
|
---|
17 | }
|
---|
18 | }
|
---|
19 | }
|
---|
20 | var _default = exports.default = Visitor; |
---|
Note:
See
TracBrowser
for help on using the repository browser.