<commit_before>import toFunctionCall from "./helpers/ast/to-function-call";
import toReference from "./helpers/ast/to-reference";

import getOption from "./helpers/get-option";
import iDOMMethod from "./helpers/idom-method";
import attrsToAttrCalls from "./helpers/attributes-to-attr-calls";
import buildChildren from "./helpers/build-children";
import extractOpenArguments from "./helpers/extract-open-arguments";
import findOtherJSX from "./helpers/find-other-jsx";
import flattenExpressions from "./helpers/flatten-expressions";
import statementsWithReturnLast from "./helpers/statements-with-return-last";
import replaceArrow from "./helpers/replace-arrow";
import { setupHoists, hoistStatics } from "./helpers/hoist-statics";
import eagerlyDeclare from "./helpers/eagerly-declare";

import { setupInjector, injectHelpers } from "./helpers/inject";
import injectJSXWrapper from "./helpers/runtime/jsx-wrapper";

export default function ({ types: t }) {
  return { visitor: {
    Program: {
      enter(path, { file }) {<commit_msg>Cleanup imports<commit_after>import toFunctionCall from "./helpers/ast/to-function-call";

import buildChildren from "./helpers/build-children";
import findOtherJSX from "./helpers/find-other-jsx";
import flattenExpressions from "./helpers/flatten-expressions";
import statementsWithReturnLast from "./helpers/statements-with-return-last";
import { setupHoists, hoistStatics } from "./helpers/hoist-statics";
import eagerlyDeclare from "./helpers/eagerly-declare";
import elementOpenCall from "./helpers/element-open-call";
import elementCloseCall from "./helpers/element-close-call";

import { setupInjector, injectHelpers } from "./helpers/inject";
import injectJSXWrapper from "./helpers/runtime/jsx-wrapper";

export default function ({ types: t }) {
  return { visitor: {
    Program: {
      enter(path, { file }) {
{'fraction_non_alphanumeric': 0.13469827586206898, 'fraction_numerical': 0.0, 'mean_word_length': 5.108552631578948, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '563269', 'n_tokens_mistral': 511, 'n_tokens_neox': 535, 'n_words': 129}