ITree
Represents a Tree of Objects(Node) of generic type T. The Tree is represented as a single rootElement which points to a List
Functions
Link copied to clipboard
abstract fun assignVarValue(matches: Map<HashString, ITreeNode<out Any>>): ITree
Content copied to clipboard
This method substitutes variables present in matches map with their values.
Link copied to clipboard
abstract fun evaluation(matches: Map<HashString, ITreeNode<out Any>>): Double
Content copied to clipboard
This evaluates the expression.
Link copied to clipboard
Similar to toString(), but returns a HashString.