<commit_before>package net.sandius.rembulan.parser;

import net.sandius.rembulan.parser.ast.SourceInfo;
import net.sandius.rembulan.util.Check;

public class SourceElement<T> {

	public final SourceInfo src;
	public final T elem;

	public SourceElement(SourceInfo src, T elem) {
		this.src = Check.notNull(src);
		this.elem = Check.notNull(elem);
	}

	public static <T> SourceElement<T> of(SourceInfo src, T elem) {
		return new SourceElement<>(src, elem);
	}

	public SourceInfo sourceInfo() {
		return src;
	}

	public T element() {
		return elem;
	}

}<commit_msg>Making SourceElement package-private.<commit_after>package net.sandius.rembulan.parser;

import net.sandius.rembulan.parser.ast.SourceInfo;
import net.sandius.rembulan.util.Check;

class SourceElement<T> {

	public final SourceInfo src;
	public final T elem;

	public SourceElement(SourceInfo src, T elem) {
		this.src = Check.notNull(src);
		this.elem = Check.notNull(elem);
	}

	public static <T> SourceElement<T> of(SourceInfo src, T elem) {
		return new SourceElement<>(src, elem);
	}

	public SourceInfo sourceInfo() {
		return src;
	}

	public T element() {
		return elem;
	}

}
{'fraction_non_alphanumeric': 0.11642050390964379, 'fraction_numerical': 0.0, 'mean_word_length': 4.485714285714286, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '1375905', 'n_tokens_mistral': 418, 'n_tokens_neox': 397, 'n_words': 97}