The PrintVisitor type exposes the following members.

Methods

  Name Description
AddSpecialRule
Adds a special print rule to be added for a given operator. TODO Allow special rules for other functions, i.e. not operators.
Append
Add a string to buffer. Classes implementing IPrintRules should call this add the
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FormatValue Overloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLightWeightInstance
GetMode Overloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Init
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Print Overloaded.
PrintLine Overloaded.
PrintWrap
Utility method to print a wrapped version of the output. Each line will be a maximum of maxLen characters wide with lines broken on
SetMode
Set printing mode.

In full bracket mode the brackets each element in the tree will be surrounded by brackets to indicate the tree structure.

In the default mode, (full bracket off) the number of brackets is minimized so (x+y)+z will be printed as x+y+z.

ToString Overloaded.
Visit Overloaded.

See Also