source: node_modules/@swagger-api/apidom-core/cjs/elements/Annotation.cjs

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: 465 bytes
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _minim = require("minim");
6class Annotation extends _minim.StringElement {
7 // classes: warning | error
8
9 constructor(content, meta, attributes) {
10 super(content, meta, attributes);
11 this.element = 'annotation';
12 }
13 get code() {
14 return this.attributes.get('code');
15 }
16 set code(value) {
17 this.attributes.set('code', value);
18 }
19}
20var _default = exports.default = Annotation;
Note: See TracBrowser for help on using the repository browser.