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

Method constructor

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

Source from the content-addressed store, hash-verified

300 filename = undefined;
301
302 constructor(jsondata?: any) {
303 if (jsondata) this.fromJsonData(jsondata);
304 }
305
306 fromJsonData(jsondata: any) {
307 if (jsondata.id !== undefined) this.id = jsondata.id;

Callers

nothing calls this directly

Calls 1

fromJsonDataMethod · 0.95

Tested by

no test coverage detected