Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 1x 1x 1x 5820x 5820x 5820x 5820x 23280x 23280x 5820x 5820x 2886x 2886x 2886x 2886x 5820x 5820x 5820x 5820x 157x 157x 157x 157x 157x 5820x 5820x 6676x 6676x 6676x 5820x 5820x 2851x 1904x 1904x 1904x 2851x 2851x 2851x 5820x 5820x | import {ABAPObject} from "./_abap_object"; import {ABAPFile} from "../abap/abap_file"; export class Program extends ABAPObject { private isIncludeValue: boolean | undefined = undefined; public getType(): string { return "PROG"; } public getSequencedFiles(): readonly ABAPFile[] { const main = this.getMainABAPFile(); if (main === undefined) { return []; } return [main]; } public getDescription(): string | undefined { // todo return undefined; } public getAllowedNaming() { return { maxLength: 40, allowNamespace: true, }; } public setDirty(): void { this.isIncludeValue = undefined; super.setDirty(); } public isInclude(): boolean { if (this.isIncludeValue === undefined) { const file = this.getXMLFile(); this.isIncludeValue = file ? file.getRaw().includes("<SUBC>I</SUBC>") : false; } return this.isIncludeValue; } } |