<commit_before><commit_msg>Add namers for arrayj<commit_after>package ch.usi.inf.l3.sana.arrayj.namers

import ch.usi.inf.l3.sana
import sana.primj
import sana.tiny
import sana.calcj
import sana.brokenj
import sana.arrayj

import sana.core.TransformationComponent
import sana.dsl._
import tiny.ast.{TreeCopiers => _, _}
import primj.ast.Implicits._
import tiny.errors.ErrorReporting.{error,warning}
import tiny.symbols._
import calcj.ast.{TreeCopiers => _, _}
import primj.ast.{TreeCopiers => _, _}
import primj.symbols._
import primj.modifiers.Ops._
import primj.errors.ErrorCodes._
import primj.namers.NamerComponent
import arrayj.ast._

/*
ArrayTypeUse: DONE
*/



@component
trait ArrayTypeUseNamerComponent extends NamerComponent {
  (tuse: ArrayTypeUseApi) => {
    val tpt = name(tuse.tpt).asInstanceOf[UseTree]

    TreeCopiers.copyArrayTypeUse(tuse)(tpt = tpt)
  }
}


{'fraction_non_alphanumeric': 0.11060433295324971, 'fraction_numerical': 0.002280501710376283, 'mean_word_length': 5.013698630136986, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2480974', 'n_tokens_mistral': 325, 'n_tokens_neox': 319, 'n_words': 57}