* The char array content of the scanner.
* @throws IOException
*/
public TokenScanner(AstLexer scanner, char[] content) throws IOException {
this.scanner = scanner;
this.charReader = new RandomAccessCharArrayReader(content);
this.scanner.yyreset(this.charReader);
this.scanner.resetCommentList();
}