Expression Factory
class ExpressionFactory
This utility class provides methods to ease the building and usage of IExpression without parsing.
Functions
Link copied to clipboard
Given a single literal (either variable or constant), builds the corresponding expression.
Link copied to clipboard
Given a number, builds a numeric expression.
Given a single literal (either variable or constant), builds the corresponding expression.
Link copied to clipboard
Given a single literal (either variable or constant), builds the corresponding ITreeNode.
Link copied to clipboard
Given a double, creates a NumTreeNode and wraps it into a ListTreeNode.
Given a node, wraps it into a ListTreeNode.
Wraps a collection of ITreeNode into a new List IExpression.