import { Parser } from './Parser'; export class JinjaXMLParser implements Parser { getVariables(fileContent: string): string[] { const variables = []; if (fileContent.includes('>[')) { const xmlSplit = fileContent.split('>['); for (const val of xmlSplit) { const res = val.substring(0, val.indexOf('] 0) { variables.push(res); } } } return variables; } } /* [hostname] */