PsiBuilder (IElementType root, PsiBuilder builder, PsiParser parser, TokenSet[] extendsSets) { ErrorState state = new ErrorState(); ErrorState.initState(state, builder, root, extendsSets); return new Builder(builder, state, parser); }