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