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