ASTNode (@NotNull IElementType root, PsiBuilder builder) { PsiBuilder.Marker mark = builder.mark(); while (!builder.eof()) { builder.advanceLexer(); } mark.done(root); return builder.getTreeBuilt(); }