persistence.antlr.debug.NewLineEvent Maven / Gradle / Ivy
The 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 + "]";
}
}