(device: string)
| 238 | } |
| 239 | |
| 240 | private getSVDFile(device: string): string { |
| 241 | const entry = this.SVDDirectory.find((de) => de.expression.test(device)); |
| 242 | return entry ? entry.path : null; |
| 243 | } |
| 244 | |
| 245 | public registerSVDFile(expression: RegExp | string, path: string): void { |
| 246 | if (typeof expression === 'string') { |