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

Function readAnchorProperty

frontend/public/swagger-ui-bundle.js:33307–33323  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

33305 !0
33306 )
33307 }
33308 function readAnchorProperty(s) {
33309 var o, i
33310 if (38 !== (i = s.input.charCodeAt(s.position))) return !1
33311 for (
33312 null !== s.anchor && throwError(s, 'duplication of an anchor property'),
33313 i = s.input.charCodeAt(++s.position),
33314 o = s.position;
33315 0 !== i && !is_WS_OR_EOL(i) && !is_FLOW_INDICATOR(i);
33316 )
33317 i = s.input.charCodeAt(++s.position)
33318 return (
33319 s.position === o &&
33320 throwError(s, 'name of an anchor node must contain at least one character'),
33321 (s.anchor = s.input.slice(o, s.position)),
33322 !0
33323 )
33324 }
33325 function composeNode(s, o, i, a, u) {
33326 var _,

Callers 1

composeNodeFunction · 0.85

Calls 3

throwErrorFunction · 0.85
is_WS_OR_EOLFunction · 0.85
is_FLOW_INDICATORFunction · 0.85

Tested by

no test coverage detected