예제 #1
0
        public Cast(IAstNode operand, TypeIdentifier type, CastType castType)
        {
            Require.NotNull(operand, "operand");
            Require.NotNull(type, "type");

            Operand  = operand;
            Type     = type;
            CastType = castType;
        }
예제 #2
0
 public Cast(IAstNode operand, TypeIdentifier type)
     : this(operand, type, CastType.Cast)
 {
 }