source:
node_modules/@swagger-api/apidom-ast/es/yaml/nodes/YamlAnchor.mjs
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 234 bytes |
Line | |
---|---|
1 | import Node from "../../Node.mjs"; |
2 | class YamlAnchor extends Node { |
3 | static type = 'anchor'; |
4 | name; |
5 | constructor({ |
6 | name, |
7 | ...rest |
8 | }) { |
9 | super({ |
10 | ...rest |
11 | }); |
12 | this.name = name; |
13 | } |
14 | } |
15 | export default YamlAnchor; |
Note:
See TracBrowser
for help on using the repository browser.