lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/compiler/WAMCompiledClause.java
private void addInstructionsAndThisToParent(SizeableList<WAMInstruction> instructions)
    {
        if (!addedToParent)
        {
            parent.addInstructions(this, instructions);
            addedToParent = true;
        }
        else
        {
            parent.addInstructions(instructions);
        }
    }
private void addInstructionsAndThisToParent(SizeableList<WAMInstruction> instructions)
    {
        if (!addedToParent)
        {
            parent.addInstructions(this, instructions);
            addedToParent = true;
        }
        else
        {
            parent.addInstructions(instructions);
        }
    }
private void addInstructionsAndThisToParent ( SizeableList < WAMInstruction > instructions ) { if ( ! addedToParent ) { parent . addInstructions ( this , instructions ) ; addedToParent = true ; } else { parent . addInstructions ( instructions ) ; } }
Adds some instructions to the parent predicate, and also adds this as a clause on the parent, if it has not
already been added.

@param instructions The instructions to add.
Adds some instructions to the parent predicate and also adds this as a clause on the parent if it has not already been added .