@Override
	public String print(ParserWalker walker) throws MemoryAccessException {
		long val = patval.getValue(walker);
		String res;
		if (val >= 0) {
			res = "0x" + Long.toHexString(val);
		}
		else {
			res = "-0x" + Long.toHexString(-val);
		}
		return res;
	}
A variable with its semantic (and printing) value equal to a fixed
mapping of its pattern
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/ValueSymbol.java