public <T> T evaluate(PcodeExecutor<T> executor) {
		ValueCapturingPcodeUseropLibrary<T> library =
			new ValueCapturingPcodeUseropLibrary<>();
		execute(executor, library);
		return library.result;
	}
Evaluate the expression using the given executor

@param <T> the type of the result
@param executor the executor
@return the result
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/PcodeExpression.java