MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/racket.ts:53–74  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

51 }
52
53 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
54 super(
55 {
56 // Disable output filters, as they currently don't do anything
57 disabledFilters: ['labels', 'directives', 'commentOnly', 'trim', 'debugCalls'],
58 ...info,
59 },
60 env,
61 );
62 // Revise this if we add released versions of Racket 8.12 or later
63 if (this.compiler.isNightly) {
64 this.compiler.optPipeline = {
65 groupName: 'Linklet',
66 // Disable all options and filters, currently unsupported
67 supportedOptions: [],
68 supportedFilters: [],
69 monacoLanguage: 'scheme',
70 };
71 }
72 this.raco = this.compilerProps<string>(`compiler.${this.compiler.id}.raco`);
73 this.passDumpParser = new RacketPassDumpParser(this.compilerProps);
74 }
75
76 override optionsForFilter(
77 filters: ParseFiltersAndOutputOptions,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected