void (@NotNull ParsingScope prevScope) { if (!getScope().equals(prevScope)) { // builder could cache some data based on the previous scope (e.g. token type) // and we have to reset its cache if scope has changed getBuilder().mark().rollbackTo(); } }