import { Parser } from './Parser'; export class JinjaXMLParser 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('] 0) { this.variables.add(res); } } } return [...this.variables]; } } /* [hostname] */