MCPcopy Index your code
hub / github.com/dataease/SQLBot / createLine

Function createLine

frontend/public/swagger-ui-bundle.js:57776–57800  ·  view source on GitHub ↗
(s, _)

Source from the content-addressed store, hash-verified

57774 B = [],
57775 $ = -1,
57776 U = 0
57777 function createLine(s, _) {
57778 var j = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : []
57779 return o || j.length > 0
57780 ? (function createWrappedLine(s, _) {
57781 return createLineElement({
57782 children: s,
57783 lineNumber: _,
57784 lineNumberStyle: x,
57785 largestLineNumber: w,
57786 showInlineLineNumbers: u,
57787 lineProps: i,
57788 className: arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : [],
57789 showLineNumbers: a,
57790 wrapLongLines: C,
57791 wrapLines: o,
57792 })
57793 })(s, _, j)
57794 : (function createUnwrappedLine(s, o) {
57795 if (a && o && u) {
57796 var i = assembleLineNumberStyles(x, o, w)
57797 s.unshift(getInlineLineNumber(o, i))
57798 }
57799 return s
57800 })(s, _)
57801 }
57802 for (
57803 var V = function _loop() {

Callers 2

VFunction · 0.85
processLinesFunction · 0.85

Calls 4

createLineElementFunction · 0.85
assembleLineNumberStylesFunction · 0.85
getInlineLineNumberFunction · 0.85
unshiftMethod · 0.45

Tested by

no test coverage detected