packages feed

gf-3.10: src/runtime/java/org/grammaticalframework/pgf/Hypo.java

package org.grammaticalframework.pgf;

public class Hypo {
	public native boolean getBindType();
	
	/** The name of the bound variable or '_' if there is none */
	public native String getVariable();
	
	/** The type for this hypothesis */
	public native Type getType();

	//////////////////////////////////////////////////////////////////
	// private stuff

	private Object master;
	private long ref;

	private Hypo(Object master, long ref) {
		this.master = master;
		this.ref    = ref;
	}
}