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