()
| 94 | pad: number; |
| 95 | |
| 96 | constructor() { |
| 97 | this.parserName = opts.parser; |
| 98 | this.executable = opts.exe; |
| 99 | this.pad = Number.parseInt(opts.padding, 10); |
| 100 | this.compiler = { |
| 101 | compiler: { |
| 102 | exe: this.executable, |
| 103 | }, |
| 104 | possibleArguments: new CompilerArguments('some-id'), |
| 105 | execCompilerCached: async (command: string, args: string[]) => { |
| 106 | return executeDirect(command, args, {}, fn => fn); |
| 107 | }, |
| 108 | getDefaultExecOptions: () => { |
| 109 | return { |
| 110 | env: process.env, |
| 111 | cwd: process.cwd(), |
| 112 | timeout: 10000, |
| 113 | }; |
| 114 | } |
| 115 | }; |
| 116 | |
| 117 | if (this.parserName === 'juliawrapper') { |
| 118 | this.compiler.compilerWrapperPath = 'etc/scripts/julia_wrapper.jl'; |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | async getPossibleStdvers() { |
| 123 | const parser = this.getParser(); |
nothing calls this directly
no test coverage detected