()
| 721 | } |
| 722 | |
| 723 | private skipCommentRange(): void { |
| 724 | while (true) { |
| 725 | if (this.stream.eof) { |
| 726 | throw new AiScriptUnexpectedEOFError(this.stream.getPos()); |
| 727 | } |
| 728 | if (this.stream.char === '*') { |
| 729 | this.stream.next(); |
| 730 | if (this.stream.eof) { |
| 731 | throw new AiScriptUnexpectedEOFError(this.stream.getPos()); |
| 732 | } |
| 733 | if ((this.stream.char as string) === '/') { |
| 734 | this.stream.next(); |
| 735 | break; |
| 736 | } |
| 737 | continue; |
| 738 | } |
| 739 | this.stream.next(); |
| 740 | } |
| 741 | } |
| 742 | } |
no test coverage detected