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

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