public string visit(ByteConstant n)
 {
     throw new NotImplementedException();
 }
 public abstract string visit(ByteConstant n);
 public virtual string visit(ByteConstant n)
 {
     throw new NotImplementedException("ByteConstant is not implemented yet");
     // Do nothing; leave the implementation to the main class
 }
Beispiel #4
0
 public override string visit(ByteConstant n)
 {
     return "$" + (n.Value * WORD_SIZE).ToString();
 }
 public ASTType visit(ByteConstant n)
 {
     throw new NotImplementedException();
 }