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

Method appendAtoms

compiler/companion/src/native/IRtoString.ts:133–143  ·  view source on GitHub ↗
(atoms: NativeCompilerBuilderAtomID[])

Source from the content-addressed store, hash-verified

131 this.appendVariable(variables[i]);
132 }
133 this.append(' ]');
134 return this;
135 }
136
137 appendAtom(atom: NativeCompilerBuilderAtomID): IRStringWriter {
138 return this.appendQuotedString(atom.identifier);
139 }
140
141 appendAtoms(atoms: NativeCompilerBuilderAtomID[]): IRStringWriter {
142 this.append(' [');
143 for (let i = 0; i < atoms.length; i++) {
144 if (i > 0) {
145 this.append(',');
146 }

Callers 1

outputIRFunction · 0.80

Calls 2

appendMethod · 0.95
appendAtomMethod · 0.95

Tested by

no test coverage detected