示例#1
0
 public override void Visit(ToNumber node) { Visit((ConversionExpression)node); }
示例#2
0
 public override void Visit(ToNumber node) { Visit(node, Types.Operations.Convert.ToNumber); }
示例#3
0
 public override void Visit(ToNumber node) { base.Visit(node); node.ValueType = GetType(node); }
示例#4
0
 internal static mdr.ValueTypes GetType(ToNumber expression) { return Types.Operations.Convert.ToNumber.ReturnType(expression.ValueType); }
示例#5
0
 public ToNumber MakeToNumber(Expression expression)
 {
   var n = expression as ToNumber;
   if (n == null)
   {
     n = new ToNumber(MakeGuardedCast(expression));
   }
   return n;
 }
示例#6
0
 public override void Visit(ToNumber node)
 {
   PushLocation(node);
   VisitNode(node.Expression);
   Call(Types.Operations.Stack.ToNumber, 1, 1);
   PopLocation();
 }
示例#7
0
 public override void Visit(ToNumber node) { AssignToImplicitReturn(node); }