Beispiel #1
0
 public void Visit(Ast.ComplexNumberNode complex)
 {
     result.AppendFormat("complexnumber ({0}r,{1}i)", complex.Real, complex.Imaginary);
 }
 public void Visit(Ast.ComplexNumberNode complex)
 {
     generated.Push(new ComplexNumber(complex.Real, complex.Imaginary));
 }