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

Method constructor

lib/clientstate.ts:200–202  ·  view source on GitHub ↗
(jsondata?: any)

Source from the content-addressed store, hash-verified

198 langId = 'c++';
199
200 constructor(jsondata?: any) {
201 if (jsondata) this.fromJsonData(jsondata);
202 }
203
204 fromJsonData(jsondata: any) {
205 this.fileId = jsondata.fileId;

Callers

nothing calls this directly

Calls 1

fromJsonDataMethod · 0.95

Tested by

no test coverage detected