public ToPrimitive MakeToPrimitive(Expression expression) { var n = expression as ToPrimitive; if (n == null) { // n = new ToPrimitive(MakeGuardedCast(expression)); n = new ToPrimitive(expression); } return(n); }
public override void Visit(ToPrimitive node) { Visit(node, Types.Operations.Convert.ToPrimitive); }
public override void Visit(ToPrimitive node) { Visit((ConversionExpression)node); }
public override void Visit(ToPrimitive node) { base.Visit(node); node.ValueType = GetType(node); }
internal static mdr.ValueTypes GetType(ToPrimitive expression) { return Types.Operations.Convert.ToPrimitive.ReturnType(expression.ValueType); }
public override void Visit(ToPrimitive node) { Visit((ConversionExpression)node); }
public ToPrimitive MakeToPrimitive(Expression expression) { var n = expression as ToPrimitive; if (n == null) { // n = new ToPrimitive(MakeGuardedCast(expression)); n = new ToPrimitive(expression); } return n; }
public abstract void Visit(ToPrimitive node);
public override void Visit(ToPrimitive node) { PushLocation(node); VisitNode(node.Expression); Call(Types.Operations.Stack.ToPrimitive, 1, 1); PopLocation(); }
public override void Visit(ToPrimitive node) { AssignToImplicitReturn(node); }