<commit_before>enyo.kind({
	name: "Indexer",
	kind: null,
	group: "public",
	constructor: function() {
		this.objects = [];
	},
	debug: false,
	findByName: function(inName) {
		return Documentor.findByProperty(this.objects, "name", inName);
	},
	findByTopic: function(inTopic) {
		return Documentor.findByProperty(this.objects, "topic", inTopic);
	},
	/**
	 * Returns a list of all kind names matching the parameter nameRegexp
	 * and the parameter group
	 * @param nameRegexp
	 * @param group
	 * @returns {Array} the list of matching kind name
	 */
	getKindList: function(nameRegexp, group) {
		this.debug && enyo.log("getEnyoKindList --> result - regexp: " + nameRegexp + " group: " + group);
		var list = [];
		for (var i=0, o; o=this.objects[i]; i++) {
			if ((o.type === 'kind') && (o.token === 'enyo.kind') && (o.group === group) && nameRegexp.test(o.name)) {
				this.debug && enyo.log("getEnyoKindList --> this.objects[" + i + "]: type: " + o.type + " token: " + o.token + " group: "+ o.group + " name: " + o.name);
				list.push(o.name);
			}
		}
		return list;
	},
	/**
	 * Returns a list of all function names matching the parameter nameRegexp
	 * and the parameter group
	 * @param nameRegexp
	 * @param group
	 * @returns {Array} the list of matching function name
	 */
	getFunctionList: function(nameRegexp, group) {
		var list = [];
		for (var i=0, o; o=this.objects[i]; i++) {
			if ((o.type === 'function') && (o.group === group) && nameRegexp.test(o.name)) {
				list.push(o.name);
			}
		}
		return list;
	},
	addModules: function(inModules) {
		enyo.forEach(inModules, this.addModule, this);
		// sort (?!)
		this.objects.sort(Indexer.nameCompare);
	},
	addModule: function(inModule) {<commit_msg>ENYO-1195: Removed unused functions getKindList() and getFunctionList() from analyzer2/Indexer.js which were accepted too early in https://github.com/enyojs/extra/pull/11.<commit_after>enyo.kind({
	name: "Indexer",
	kind: null,
	group: "public",
	constructor: function() {
		this.objects = [];
	},
	debug: false,
	findByName: function(inName) {
		return Documentor.findByProperty(this.objects, "name", inName);
	},
	findByTopic: function(inTopic) {
		return Documentor.findByProperty(this.objects, "topic", inTopic);
	},
	addModules: function(inModules) {
		enyo.forEach(inModules, this.addModule, this);
		// sort (?!)
		this.objects.sort(Indexer.nameCompare);
	},
	addModule: function(inModule) {
{'fraction_non_alphanumeric': 0.16928807947019867, 'fraction_numerical': 0.0037251655629139072, 'mean_word_length': 4.024948024948025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '7207319', 'n_tokens_mistral': 886, 'n_tokens_neox': 839, 'n_words': 196}