SyntaxTraverser<LighterASTNode> (@NotNull PsiBuilder builder) { LighterASTApi api = new LighterASTApi(builder); Meta<LighterASTNode> meta = Meta.create(api) .forceExpand(compose(api::typeOf, instanceOf(IFileElementType.class))) .withRoots(JBIterable.of(api.getStructure().getRoot())); return new SyntaxTraverser<>(api, meta); }