示例#1
0
 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
 }
示例#4
0
 public override string visit(ByteConstant n)
 {
     return "$" + (n.Value * WORD_SIZE).ToString();
 }
示例#5
0
 public ASTType visit(ByteConstant n)
 {
     throw new NotImplementedException();
 }