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