public void setFunction(Function f) {
		func = f;
		program = f.getProgram();
		progctx = program.getProgramContext();
		contextRegister = progctx.getBaseContextRegister();
		globalnamespace = program.getGlobalNamespace();
	}
A container for collecting communication between the decompiler and the Ghidra database,
as serviced through DecompileCallback during decompilation of a function.
The query results can then be dumped as an XML document.
The container is populated through methods that mirror the various methods in DecompileCallback.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/DecompileDebug.java