public static VarnodeSymbol paramSym(Language language, SleighBase sleigh, String opName,
			String paramName, Varnode arg) {
		AddressSpace gSpace = language.getAddressFactory().getAddressSpace(arg.getSpace());
		AddrSpace sSpace = sleigh.getSpace(gSpace.getUnique());
		return new VarnodeSymbol(new Location(opName, 0), paramName, sSpace, arg.getOffset(),
			arg.getSize());
	}
Generate a Sleigh symbol for context when compiling a userop definition

@param language the language of the target p-code machine
@param sleigh a means of translating address spaces between execution and compilation
           contexts
@param opName a diagnostic name for the userop in which this parameter applies
@param paramName the symbol name for the parameter
@param arg the varnode to bind to the parameter symbol
@return the named Sleigh symbol bound to the given varnode
Ghidra/Framework/Emulation/src/main/java/ghidra/pcode/exec/SleighProgramCompiler.java