source:
node_modules/@swagger-api/apidom-ast/es/ParseResult.mjs@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 209 bytes |
Line | |
---|---|
1 | import { head } from 'ramda'; |
2 | import Node from "./Node.mjs"; |
3 | class ParseResult extends Node { |
4 | static type = 'parseResult'; |
5 | get rootNode() { |
6 | return head(this.children); |
7 | } |
8 | } |
9 | export default ParseResult; |
Note:
See TracBrowser
for help on using the repository browser.