import { Parser } from './Parser'; export class VtlYMLParser implements Parser { variables: Set = new Set(); getVariables(fileContent: string): string[] { if (fileContent.includes('${')) { const xmlSplit = fileContent.split('${'); for (const val of xmlSplit) { const res = val.substring(0, val.indexOf('}')); if (res && res.length > 0 && !res.includes('{')) { this.variables.add(res); } } } return [...this.variables]; } } /* $vdns_int_private_ip_0 $vdns_onap_private_ip_0 aaaa false dddd */