public static void parseStatementList(IElementType root, SyntaxTreeBuilder builder, LanguageLevel languageLevel) {
    final SyntaxTreeBuilder.Marker rootMarker = builder.mark();
    ParsingContext context = new ParsingContext(builder, languageLevel);
    StatementParsing statementParser = context.getStatementParser();

    builder.setTokenTypeRemapper(statementParser);
    context.pushScope(context.emptyParsingScope());
    LazyStatementParsing lazyStatementParsing = new LazyStatementParsing(context);
    lazyStatementParsing.lazyParseStatementList();

    rootMarker.done(root);
    rootMarker.setCustomEdgeTokenBinders(LeadingCommentsBinder.INSTANCE, FollowingCommentBinder.INSTANCE);
  }
public static void parseStatementList(IElementType root, SyntaxTreeBuilder builder, LanguageLevel languageLevel)