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