MCPcopy Index your code
hub / github.com/aiscript-dev/aiscript / skipCommentLine

Method skipCommentLine

src/parser/scanner.ts:711–721  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

709 }
710
711 private skipCommentLine(): void {
712 while (true) {
713 if (this.stream.eof) {
714 break;
715 }
716 if (this.stream.char === '\n') {
717 break;
718 }
719 this.stream.next();
720 }
721 }
722
723 private skipCommentRange(): void {
724 while (true) {

Callers 2

readTokenMethod · 0.95
skipEmptyLinesMethod · 0.95

Calls 1

nextMethod · 0.65

Tested by

no test coverage detected