void () { doTest(" a b ", """ Element(ROOT) PsiWhiteSpace(' ') Element(OTHER) PsiElement(LETTER)('a') PsiWhiteSpace(' ') Element(OTHER) PsiElement(LETTER)('b') PsiWhiteSpace(' ') """, builder -> { PsiBuilder.Marker marker = builder.mark(); builder.advanceLexer(); marker.done(OTHER); marker = builder.mark(); builder.advanceLexer(); marker.done(OTHER); builder.advanceLexer(); } ); }