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 .