private static void advanceLexerWhile(@NotNull Lexer lexer, @NotNull IElementType condition) {
    IElementType current = lexer.getTokenType();
    while (current == condition) {
      lexer.advance();
      current = lexer.getTokenType();
    }
  }
private static void advanceLexerWhile(@NotNull Lexer lexer, @NotNull IElementType condition)