(source: string, filters: any)
| 53 | } |
| 54 | |
| 55 | override preProcess(source: string, filters: any) { |
| 56 | // I do not think you can make a Pony "library", so you must always have a main. |
| 57 | // Looking at the stdlib, the main is used as a test harness. |
| 58 | if (!this.stubRe.test(source)) { |
| 59 | source += `\n${this.stubText}\n`; |
| 60 | } |
| 61 | return source; |
| 62 | } |
| 63 | |
| 64 | override async generateIR( |
| 65 | inputFilename: string, |