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

Method constructor

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

Source from the content-addressed store, hash-verified

70 tree?: number;
71
72 constructor(jsondata?: any) {
73 if (jsondata) {
74 this.filters = undefined as any as ClientStateCompilerOptions;
75 this.fromJsonData(jsondata);
76 } else {
77 this.filters = new ClientStateCompilerOptions();
78 }
79 }
80
81 fromJsonData(jsondata: any) {
82 if (jsondata._internalid !== undefined) {

Callers

nothing calls this directly

Calls 1

fromJsonDataMethod · 0.95

Tested by

no test coverage detected