示例#1
0
        public virtual bool VisitImaginaryLiteral(ImaginaryLiteral stmt)
        {
            if (!VisitExpr(stmt))
            {
                return(false);
            }

            return(true);
        }
示例#2
0
 public bool VisitImaginaryLiteral(ImaginaryLiteral stmt)
 {
     throw new NotImplementedException();
 }
示例#3
0
 public CodeExpression VisitImaginary(ImaginaryLiteral im)
 {
     m.EnsureImport("System.Numerics");
     return(m.Prim(new Complex(0, im.NumericValue)));
 }
示例#4
0
 public void VisitImaginaryLiteral(ImaginaryLiteral im)
 {
     throw new NotImplementedException();
 }
示例#5
0
 public DataType VisitImaginary(ImaginaryLiteral c)
 {
     return(DataType.Complex);
 }
示例#6
0
 public CodeExpression VisitImaginary(ImaginaryLiteral im)
 {
     throw new NotSupportedException();
 }
示例#7
0
 public void VisitImaginaryLiteral(ImaginaryLiteral im)
 {
     throw new NotImplementedException();
 }