MCPcopy Create free account
hub / github.com/Snapchat/Valdi / appendVariables

Method appendVariables

compiler/companion/src/native/IRtoString.ts:117–127  ·  view source on GitHub ↗
(variables: NativeCompilerBuilderVariableID[])

Source from the content-addressed store, hash-verified

115 return this.append(' <null>');
116 } else {
117 return this.append(` '${escapeIRString(str)}'`);
118 }
119 }
120
121 appendVariable(variable: NativeCompilerBuilderVariableID): IRStringWriter {
122 return this.append(` @${variable.variable}`);
123 }
124
125 appendVariables(variables: NativeCompilerBuilderVariableID[]): IRStringWriter {
126 this.append(' [');
127 for (let i = 0; i < variables.length; i++) {
128 if (i > 0) {
129 this.append(',');
130 }

Callers 1

outputIRFunction · 0.80

Calls 2

appendMethod · 0.95
appendVariableMethod · 0.95

Tested by

no test coverage detected