834835836837838839840841842843844
public IValue diagnoseAmbiguity(IRascalMonitor monitor, IConstructor parseTree) { IRascalMonitor old = setMonitor(monitor); try { ParserGenerator pgen = getParserGenerator(); return pgen.diagnoseAmbiguity(parseTree); } finally { setMonitor(old); } }