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