Esempio n. 1
0
        /// <summary>
        /// Initializes new instance of ExpressionTree
        /// </summary>
        /// <param name="expression">Expression to parse</param>
        public ExpressionTree(string expression)
        {
            var parser = new ExpressionStringParser(expression);

            this.root = parser.Root;
            this.EvaluateTree();
        }
Esempio n. 2
0
 public OperationMinus(
     ExpressionTreeVertex leftSon,
     ExpressionTreeVertex rightSon) : base(leftSon, rightSon)
 {
 }