All Downloads are FREE. Search and download functionalities are using the official Maven repository.

persistence.antlr.debug.NewLineEvent Maven / Gradle / Ivy

There is a newer version: 2.1-60f
Show newest version
package persistence.antlr.debug;

public class NewLineEvent extends Event {
	private int line;


	public NewLineEvent(Object source) {
		super(source);
	}
	public NewLineEvent(Object source, int line) {
		super(source);
		setValues(line);
	}
	public int getLine() {
		return line;
	}
	void setLine(int line) {
		this.line = line;
	}
	/** This should NOT be called from anyone other than ParserEventSupport! */
	void setValues(int line) {
		setLine(line);
	}
	public String toString() {
		return "NewLineEvent [" + line + "]";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy