code: private Tree<Row> findEndIf( Tree<Row> pointer ){
          while( !Type.END_IF.equals( pointer.getContent().getType() ) ){
              pointer = pointer.getNext();
          }
          return pointer;
      }
docs: Finds the associate END_IF for an IF, ELSE_IF or ELSE pointer