protected void formatVarnode(A appender, int opcode, int opIndex, VarnodeTpl vTpl) {
		ConstTpl space = vTpl.getSpace();
		ConstTpl offset = vTpl.getOffset();
		ConstTpl size = vTpl.getSize();

		if (space.getType() == ConstTpl.J_CURSPACE) {
			if (offset.getType() == ConstTpl.J_START) {
				appender.appendLabel("inst_start");
			}
			else if (offset.getType() == ConstTpl.J_NEXT) {
				appender.appendLabel("inst_next");
			}
			else if (offset.getType() == ConstTpl.J_NEXT2) {
				appender.appendLabel("inst_next2");
			}
			else {
				formatAddress(appender, null, offset, size);
			}
		}
		else if (space.getType() == ConstTpl.SPACEID) {
			if (isFormatRaw() && offset.getType() == ConstTpl.REAL &&
				size.getType() == ConstTpl.REAL) {
				formatVarnodeRaw(appender, space.getSpaceId(), offset, size);
			}
			else {
				formatVarnodeNice(appender, space.getSpaceId(), offset, size);
			}
		}
		else {
			throw new RuntimeException("Unsupported space template type: " + space.getType());
		}
	}
Format a varnode

@param appender the appender to receive the formatted text
@param opcode the op's opcode
@param opIndex the operand's index (-1 is output, 0 is first input)
@param vTpl the varnode to format
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/AbstractPcodeFormatter.java