public getTextLines()

in src/Utils/xml/index.ts [150:159]


    public getTextLines(indent: string): string[] {
        const listOfLines: string[][] = this.boms.map(bom => this.bomToTextLine(bom, indent));
        let lines: string[] = [].concat(...listOfLines);
        if (this.options && this.options.parents && this.options.parents.length > 0) {
            for (const parent of this.options.parents) {
                lines = PomNode.wrapWithParentNode(lines, indent, parent);
            }
        }
        return lines;
    }