public void visit(Add n)
 {
     throw new NotImplementedException();
 }
 // Instructions
 public abstract void visit(Add n);
 public virtual void visit(Add n)
 {
     // Do nothing; leave the implementation to the main class
 }
Exemple #4
0
 public override void visit(Add n)
 {
     w("addq\t" + n.Value.accept(this) + ", " + n.Target.accept(this));
 }
 public ASTType visit(Add n)
 {
     throw new NotImplementedException();
 }