lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/printer/PositionPrinter.java
protected void enterVariable(Variable variable)
    {
        Integer allocation = (Integer) symbolTable.get(variable.getSymbolKey(), "allocation");
        String symKey = variable.getSymbolKey().toString();

        String allocString = "";

        if (allocation != null)
        {
            int slot = (allocation & (0xff));
            int mode = allocation >> 8;

            allocString = ((mode == STACK_ADDR) ? "Y" : "X") + slot;
        }

        addLineToRow("arg/var(" + symKey + ") " + allocString);
        nextRow();
    }
protected void enterVariable(Variable variable)
    {
        Integer allocation = (Integer) symbolTable.get(variable.getSymbolKey(), "allocation");
        String symKey = variable.getSymbolKey().toString();

        String allocString = "";

        if (allocation != null)
        {
            int slot = (allocation & (0xff));
            int mode = allocation >> 8;

            allocString = ((mode == STACK_ADDR) ? "Y" : "X") + slot;
        }

        addLineToRow("arg/var(" + symKey + ") " + allocString);
        nextRow();
    }
{@inheritDoc}