Beispiel #1
0
 /// <summary>
 /// Visits the specified node.
 /// </summary>
 /// <param name="node">The node.</param>
 public void Visit(SubtractFunctionNode node)
 {
     using (new DestinationNodeContext(node))
     {
         AppendToResult("(SafeTypeConverter.Convert<double?>(");
         node.Parameter1.AcceptVisitor(this);
         AppendToResult(") - SafeTypeConverter.Convert<double?>(");
         node.Parameter2.AcceptVisitor(this);
         AppendToResult("))");
     }
 }
Beispiel #2
0
 public void Visit(SubtractFunctionNode node)
 {
     AppendToResult("functions.SubtractUntyped(");
     node.Parameter1.AcceptVisitor(this);
     AppendToResult(", ");
     node.Parameter2.AcceptVisitor(this);
     AppendToResult(")");
 }