public override QAst Optimize() { LeftOperand = LeftOperand.Optimize(); RightOperand = RightOperand.Optimize(); _children = new List <QAst> { LeftOperand, RightOperand }; return(this); }
public string SerializeAst ( QAst root ) { if (ReferenceEquals(root, null)) { throw new ArgumentNullException("root"); } return(root.ToString()); }