()
| 824 | return this.kind = Kind.SingleLineComment; |
| 825 | } |
| 826 | private scanHashComment() { |
| 827 | this.text = this.scanUntil(isLineBreak); |
| 828 | return this.kind = Kind.SingleLineHashComment; |
| 829 | } |
| 830 | private scanMultiLineComment() { |
| 831 | this.text = this.scanUntil((ch, chNext) => ch === CharacterCodes.asterisk && chNext === CharacterCodes.slash, '*/', 2); |
| 832 | return this.kind = Kind.MultiLineComment; |