MCPcopy
hub / github.com/ether/etherpad / toString

Method toString

src/static/js/Op.ts:72–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 toString() {
73 if (!this.opcode) throw new TypeError('null op');
74 if (typeof this.attribs !== 'string') throw new TypeError('attribs must be a string');
75 const l = this.lines ? `|${numToString(this.lines)}` : '';
76 return this.attribs + l + this.opcode + numToString(this.chars);
77 }
78}

Callers 15

SmartOpAssemblerClass · 0.45
closeColorPickerFunction · 0.45
BuilderClass · 0.45
setDocATextFunction · 0.45
handleReturnIndentationFunction · 0.45
getAttributeOnSelectionFunction · 0.45
doIncorpLineSpliceFunction · 0.45
renumberListFunction · 0.45
OpAssemblerClass · 0.45

Calls 1

numToStringFunction · 0.90

Tested by 1

stringToOpsFunction · 0.36