- Made `MCloneable`'s `clone()` require a `Container` argument of which the final cloned `Statement` must parent-itself to
feature/class_static_init
Tristan B. V. Kildaire 10 months ago
parent 921235ab22
commit 254c5ee6b9

@ -60,7 +60,11 @@ public interface MCloneable
* Returns a `Statement` which is a clone of this one
* itself
*
* Param:
* newParent = the `Container` to re-parent the
* cloned `Statement`'s self to
*
* Returns: the cloned `Statement`
*/
public Statement clone();
public Statement clone(Container newParent = null);
}
Loading…
Cancel
Save