Copyright (C) 1999, 2000, 2001, Geert Vernaeve. All Rights Reserved. |
@author Geert Vernaeve A formula encapsulates a Part tree. You could use a Part directly to manage such a tree. However, if the formula changes, the root part can become non-root. The Formula keeps track of this and always has a reference to the current root part. |
Formula filled with a string |
Debug method. |
A part has been modified. This method notifies the parent tree of the change by calling modified() for all the parents. |
Return true if the formula contains this part We check this by checking the part's parent, the part's parent parent ... until we arrive at a part without parent, which should be the root part of the formula. Note that this method will not terminate if things are mixed up so badly that following the parents results in a endless loop ... |