(pathStrings: string[], supportedTypes?: PathType[])
| 55 | } |
| 56 | |
| 57 | async getNodes(pathStrings: string[], supportedTypes?: PathType[]): Promise<NodeEntity[]> { |
| 58 | const paths = this.getPaths(pathStrings, supportedTypes); |
| 59 | const nodes = []; |
| 60 | for (const path of paths) { |
| 61 | nodes.push(await path.getNode()); |
| 62 | } |
| 63 | return nodes; |
| 64 | } |
| 65 | |
| 66 | getPaths(pathStrings: string[], supportedTypes?: PathType[], unsupportedTypeMessage?: string): Path[] { |
| 67 | let pathType: PathType | undefined; |