This is the base class of the program. It is used to implement the following behaviors:
Methods
This method is a provision for the Visitor Pattern and is used for traversing the tree.
Some possible uses are the display or the saving routine.
If you are inheriting from this class and your node is non-terminal, please override this method
Parameters : | visitor :
|
---|
Name of the object, used for displaying and referencing the object
Fields to be excluded in the serialization process, empty list by default