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

Method addResult

shared/common-utils.ts:118–124  ·  view source on GitHub ↗
(result: string)

Source from the content-addressed store, hash-verified

116 }
117
118 private addResult(result: string) {
119 if (this.results[this.position] === undefined) {
120 this.results[this.position] = result;
121 } else {
122 this.results[this.position] += result;
123 }
124 }
125
126 private handleEscapeCharacter() {
127 if (this.rest.length < 2) {

Callers 5

handleEscapeCharacterMethod · 0.95
handleSingleQuotesMethod · 0.95
handleDoubleQuotesMethod · 0.95
handleNonDoubleQuoteMethod · 0.95
execMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected