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

Function skipSeparationSpace

frontend/public/swagger-ui-bundle.js:33186–33206  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

33184 (s.lineStart = s.position),
33185 (s.firstTabInLine = -1))
33186 }
33187 function skipSeparationSpace(s, o, i) {
33188 for (var a = 0, u = s.input.charCodeAt(s.position); 0 !== u; ) {
33189 for (; is_WHITE_SPACE(u); )
33190 (9 === u && -1 === s.firstTabInLine && (s.firstTabInLine = s.position),
33191 (u = s.input.charCodeAt(++s.position)))
33192 if (o && 35 === u)
33193 do {
33194 u = s.input.charCodeAt(++s.position)
33195 } while (10 !== u && 13 !== u && 0 !== u)
33196 if (!is_EOL(u)) break
33197 for (
33198 readLineBreak(s), u = s.input.charCodeAt(s.position), a++, s.lineIndent = 0;
33199 32 === u;
33200 )
33201 (s.lineIndent++, (u = s.input.charCodeAt(++s.position)))
33202 }
33203 return (
33204 -1 !== i && 0 !== a && s.lineIndent < i && throwWarning(s, 'deficient indentation'),
33205 a
33206 )
33207 }
33208 function testDocumentSeparator(s) {
33209 var o,

Callers 3

readBlockSequenceFunction · 0.85
composeNodeFunction · 0.85
readDocumentFunction · 0.85

Calls 4

is_WHITE_SPACEFunction · 0.85
is_EOLFunction · 0.85
readLineBreakFunction · 0.85
throwWarningFunction · 0.85

Tested by

no test coverage detected