<commit_before>package railo.runtime.debug;

import railo.runtime.PageSource;

public class DebugEntryTemplatePartImpl extends DebugEntrySupport implements DebugEntryTemplatePart {

	private int startPos;
	private int endPos;

	protected DebugEntryTemplatePartImpl(PageSource source,int startPos, int endPos) {
		super(source);
		this.startPos=startPos;
		this.endPos=endPos;
	}

	@Override
	public String getSrc() {
		return getSrc(getPath(),startPos,endPos);
	}

	@Override
	public int getStartPosition() {
		return startPos;
	}

	@Override
	public int getEndPosition() {
		return endPos;
	}
	
	static String getSrc(String path, int startPos, int endPos) {
        return path+":"+startPos+" - "+endPos;
    }

}<commit_msg>added public methods<commit_after>package railo.runtime.debug;

import railo.runtime.PageSource;

public class DebugEntryTemplatePartImpl extends DebugEntrySupport implements DebugEntryTemplatePart {

	private int startPos, startLine;
	private int endPos, endLine;

	protected DebugEntryTemplatePartImpl(PageSource source,int startPos, int endPos) {
		super(source);
		this.startPos=startPos;
		this.endPos=endPos;
	}

	@Override
	public String getSrc() {
		return getSrc(getPath(),startPos,endPos);
	}

	@Override
	public int getStartPosition() {
		return startPos;
	}

	@Override
	public int getEndPosition() {
		return endPos;
	}
	
	static String getSrc(String path, int startPos, int endPos) {
        return path+":"+startPos+" - "+endPos;
    }

    public int getStartLine() {
        return startLine;
    }

    public int getEndLine() {
        return endLine;
    }

    public void setStartLine(int value) {
        startLine = value;
    }

    public void setEndLine(int value) {
        endLine = value;
    }
}
{'fraction_non_alphanumeric': 0.09246575342465753, 'fraction_numerical': 0.0, 'mean_word_length': 4.037356321839081, 'pattern_counts': {'":': 2, '<': 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': '4826491', 'n_tokens_mistral': 568, 'n_tokens_neox': 536, 'n_words': 136}