void () { doTest("a ", """ Element(ROOT) Element(OTHER) Element(OTHER) PsiElement(LETTER)('a') PsiWhiteSpace(' ') """, builder -> { PsiBuilder.Marker e1 = builder.mark(); PsiBuilder.Marker e2 = builder.mark(); builder.advanceLexer(); e2.done(OTHER); e2.setCustomEdgeTokenBinders(null, WhitespacesBinders.GREEDY_RIGHT_BINDER); e1.done(OTHER); e1.setCustomEdgeTokenBinders(null, WhitespacesBinders.DEFAULT_RIGHT_BINDER); assertTrue(builder.eof()); } ); }