getValue

open fun getValue(mp: Map<HashString, ITreeNode<out Any>>): HashString

Return

the value of the Node. (Double if it's a Num or a Var of type Num, String if it's a Const or a Var of type Const) the method return null if there are some variable not yet allocated in the expression.

Parameters

mp

the matches map. If it is not available or not required (e.g. for evaluating a number or a const), then null values can be used