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

prompto.expression.IFetchExpression Maven / Gradle / Ivy

The newest version!
package prompto.expression;

import prompto.value.IValue;
import prompto.error.PromptoError;
import prompto.runtime.Context;
import prompto.store.DataStore;
import prompto.store.IStore;

public interface IFetchExpression extends IExpression {
	
	IValue fetch(Context context, IStore store);
	Object fetchRaw(IStore store);
	
	@Override
	default IValue interpret(Context context) throws PromptoError {
		return fetch(context, DataStore.getInstance());
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy