lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/builtins/True.java
public SizeableLinkedList<WAMInstruction> compileBodyCall(Functor expression, boolean isFirstBody,
        boolean isLastBody, boolean chainRule, int permVarsRemaining)
    {
        SizeableLinkedList<WAMInstruction> result = new SizeableLinkedList<WAMInstruction>();

        if (isLastBody)
        {
            if (!chainRule)
            {
                result.add(new WAMInstruction(WAMInstruction.WAMInstructionSet.Deallocate));
            }

            result.add(new WAMInstruction(WAMInstruction.WAMInstructionSet.Proceed));
        }

        return result;
    }
public SizeableLinkedList<WAMInstruction> compileBodyCall(Functor expression, boolean isFirstBody,
        boolean isLastBody, boolean chainRule, int permVarsRemaining)
    {
        SizeableLinkedList<WAMInstruction> result = new SizeableLinkedList<WAMInstruction>();

        if (isLastBody)
        {
            if (!chainRule)
            {
                result.add(new WAMInstruction(WAMInstruction.WAMInstructionSet.Deallocate));
            }

            result.add(new WAMInstruction(WAMInstruction.WAMInstructionSet.Proceed));
        }

        return result;
    }
public SizeableLinkedList < WAMInstruction > compileBodyCall ( Functor expression , boolean isFirstBody , boolean isLastBody , boolean chainRule , int permVarsRemaining ) { SizeableLinkedList < WAMInstruction > result = new SizeableLinkedList < WAMInstruction > ( ) ; if ( isLastBody ) { if ( ! chainRule ) { result . add ( new WAMInstruction ( WAMInstruction . WAMInstructionSet . Deallocate ) ) ; } result . add ( new WAMInstruction ( WAMInstruction . WAMInstructionSet . Proceed ) ) ; } return result ; }
{@inheritDoc}
{