MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / getCurrentState

Method getCurrentState

static/panes/output.ts:157–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

155 }
156
157 override getCurrentState() {
158 const parent = super.getCurrentState();
159 const state = {
160 ...this.getEffectiveOptions(),
161 ...parent,
162 };
163 this.fontScale.addState(state);
164 return state as any;
165 }
166
167 addOutputLines(result: CompilationResult) {
168 // When MS upgrade to a server version later than Nov 11, 2022 (the merge of PR #4278)

Callers

nothing calls this directly

Calls 2

getEffectiveOptionsMethod · 0.95
addStateMethod · 0.45

Tested by

no test coverage detected