return new IncrementalParseResult(ATermCommands.factory.makeString(input), "");
treeBuilder.initializeTable(parser.getParseTable(), 0, 0, 0);
treeBuilder.initializeInput(input, null);
}
else if (treeBuilder.getTokenizer().getStartOffset() > start) {
IToken token = treeBuilder.getTokenizer().getTokenAtOffset(start);
((RetractableTokenizer) treeBuilder.getTokenizer()).retractTo(token.getIndex());
treeBuilder.setOffset(start);
}
IToken right = treeBuilder.getTokenizer().makeToken(start + input.length() - 1, IToken.TK_STRING, true);
IToken left = treeBuilder.getTokenizer().getTokenAtOffset(start);
treeBuilder.getTokenizer().makeToken(treeBuilder.getTokenizer().getStartOffset() - 1, IToken.TK_EOF, true);
IStrategoTerm term = ATermCommands.factory.makeString(input);
ImploderAttachment.putImploderAttachment(term, false, "String", left, right);
if (!lookahead)
driver.setErrorMessage(term, msg);