lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/compiler/TopLevelCheckVisitor.java
protected void enterFunctor(Functor functor)
    {
        if (isTopLevel())
        {
            symbolTable.put(functor.getSymbolKey(), SymbolTableKeys.SYMKEY_TOP_LEVEL_FUNCTOR, true);
        }
    }
protected void enterFunctor(Functor functor)
    {
        if (isTopLevel())
        {
            symbolTable.put(functor.getSymbolKey(), SymbolTableKeys.SYMKEY_TOP_LEVEL_FUNCTOR, true);
        }
    }
{@inheritDoc}

<p/>Sets the top-level flag on a functor, if appropriate.