LINQ3: Add factory method AstExpression.Add to support constant folding and flattening $add

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.14.0
    • Affects Version/s: None
    • Component/s: LINQ3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using:

      AstExpression.Add(expr1, expr2) 

      instead of:

      new AstNaryExpression(AstNaryOperator.Add, expr1, expr2)

      not only is more compact but provides a convenient places to do constant folding and flattening $add

            Assignee:
            Robert Stam (Inactive)
            Reporter:
            Robert Stam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: