MCPcopy
hub / github.com/exceljs/exceljs / writeText

Method writeText

lib/utils/xml-stream.js:83–91  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

81 }
82
83 writeText(text) {
84 const xml = this._xml;
85 if (this.open) {
86 xml.push(CLOSE_ANGLE);
87 this.open = false;
88 }
89 this.leaf = false;
90 xml.push(utils.xmlEncode(text.toString()));
91 }
92
93 writeXml(xml) {
94 if (this.open) {

Callers 10

leafNodeMethod · 0.95
buildFunction · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
xml-stream.spec.jsFile · 0.80

Calls 2

toStringMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected