- Made `MCloneable`'s `clone()` require a `Container` argument of which the final cloned `Statement` must parent-itself to
This commit is contained in:
Tristan B. Velloza Kildaire 2023-07-17 16:51:22 +02:00
parent 921235ab22
commit 254c5ee6b9
1 changed files with 5 additions and 1 deletions

View File

@ -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);
}