
persistence.antlr.debug.Event Maven / Gradle / Ivy
package persistence.antlr.debug;
import java.util.EventObject;
public abstract class Event extends EventObject {
private int type;
public Event(Object source) {
super(source);
}
public Event(Object source, int type) {
super(source);
setType(type);
}
public int getType() {
return type;
}
void setType(int type) {
this.type = type;
}
/** This should NOT be called from anyone other than ParserEventSupport! */
void setValues(int type) {
setType(type);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy