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