lojix/logic/src/main/com/thesett/aima/logic/fol/compiler/SymbolKeyTraverser.java
public void visit(Functor functor)
    {
        if (isEnteringContext())
        {
            SymbolKey key = currentSymbolTable.getSymbolKey(currentPosition);
            functor.setSymbolKey(key);

            /*log.fine(functor.toString(interner, true, false) + " assigned " + key);*/
        }
        else if (isLeavingContext())
        {
            functor.setTermTraverser(null);
        }

        if (delegate != null)
        {
            delegate.visit(functor);
        }
    }
public void visit(Functor functor)
    {
        if (isEnteringContext())
        {
            SymbolKey key = currentSymbolTable.getSymbolKey(currentPosition);
            functor.setSymbolKey(key);

            /*log.fine(functor.toString(interner, true, false) + " assigned " + key);*/
        }
        else if (isLeavingContext())
        {
            functor.setTermTraverser(null);
        }

        if (delegate != null)
        {
            delegate.visit(functor);
        }
    }
{@inheritDoc}