MCPcopy Create free account
hub / github.com/davidkingzyb/SCAST / skipLineComment

Function skipLineComment

lib/filbert.js:573–580  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

571 }
572
573 function skipLineComment() {
574 var start = tokPos;
575 var startLoc = options.onComment && options.locations && new Position;
576 skipLine();
577 if (options.onComment)
578 options.onComment(input.slice(start + 1, tokPos), start, tokPos,
579 startLoc, options.locations && new Position);
580 }
581
582 // Called at the start of the parse and after every token. Skips
583 // whitespace and comments, and.

Callers 2

skipSpaceFunction · 0.85
getTokenFromCodeFunction · 0.85

Calls 1

skipLineFunction · 0.85

Tested by

no test coverage detected