lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/compiler/InstructionCompiler.java
private void displayCompiledQuery(Term query)
    {
        // Pretty print the clause.
        StringBuffer result = new StringBuffer();

        PositionalTermVisitor displayVisitor =
            new WAMCompiledQueryPrintingVisitor(interner, symbolTable, result);

        TermWalkers.positionalWalker(displayVisitor).walk(query);

        /*log.fine(result.toString());*/
    }
private void displayCompiledQuery(Term query)
    {
        // Pretty print the clause.
        StringBuffer result = new StringBuffer();

        PositionalTermVisitor displayVisitor =
            new WAMCompiledQueryPrintingVisitor(interner, symbolTable, result);

        TermWalkers.positionalWalker(displayVisitor).walk(query);

        /*log.fine(result.toString());*/
    }
Pretty prints a compiled query.

@param query The compiled query to pretty print.