Expression

constructor(tree: ITree)

This constructor does not do any parsing, and thus is much faster than the other one.

Parameters

tree

the ITree which represents this Expression


constructor(n: ITreeNode<out Any>)

Parameters

n

the root node of the expression


constructor(s: String)

This constructor parses the String into an Expression. Due to the parsing operation, it is slow compared to the other one, and should be used only in the first initialization phase.

Parameters

s

The String representing the expression