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

Method constructor

shared/common-utils.ts:111–116  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

109 private readonly results: string[];
110
111 constructor(str: string) {
112 this.rest = str.trim();
113 this.position = 0;
114 this.inDoubleQuotes = false;
115 this.results = [];
116 }
117
118 private addResult(result: string) {
119 if (this.results[this.position] === undefined) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected