* Forks the parser at the current point and returns a new
* parser for speculative parsing.
*/
private Parser createLookaheadParser() {
return new Parser(config,
new LookaheadErrorReporter(),
this.scanner.getFile(),
this.scanner.getOffset(),
inGeneratorContext());
}