MCPcopy Index your code
hub / github.com/nodejs/node / codesToStyle

Function codesToStyle

lib/util.js:133–141  ·  view source on GitHub ↗
(codes)

Source from the content-addressed store, hash-verified

131}
132
133function codesToStyle(codes) {
134 const openNum = codes[0];
135 return {
136 __proto__: null,
137 openSeq: kEscape + openNum + kEscapeEnd,
138 closeSeq: kEscape + codes[1] + kEscapeEnd,
139 keepClose: openNum === kDimCode || openNum === kBoldCode,
140 };
141}
142
143function getStyleCache() {
144 if (styleCache === undefined) {

Callers 2

getStyleCacheFunction · 0.85
styleTextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…