protected internal Cast(NRefactory.CastExpression castExpression, IScope scope, INRefcatoryExpressionVisitor visitor) : base(scope, visitor) { _castExpression = castExpression; Operand = castExpression.Expression.AcceptVisitor(Visitor, ParentScope); InternalType = castExpression.Type.AcceptVisitor(Visitor, ParentScope).Type; }
public static Cast Cast(NRefactory.CastExpression castExpression, IScope scope, INRefcatoryExpressionVisitor visitor) { return(new Cast(castExpression, scope, visitor)); }
protected internal Cast(NRefactory.CastExpression castExpression, IScope scope, INRefcatoryExpressionVisitor visitor) : base(scope, visitor) { _castExpression = castExpression; Operand = castExpression.Expression.AcceptVisitor(Visitor, ParentScope); InternalType = castExpression.Type.AcceptVisitor(Visitor, ParentScope).Type; }
public override AstExpression VisitCastExpression(NRefactory.CastExpression castExpression, IScope scope) { return(AstExpression.Cast(castExpression, scope, this)); }