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

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

There is a newer version: 2.1-60f
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy