예제 #1
0
 public override void visit(IntConst intConst)
 {
     for (int i = 0; i < depth * 2; i++)
     {
         sw.Write(" ");
     }
     sw.WriteLine("_intconst(" + intConst.token + ") : " + intConst.type);
 }
예제 #2
0
 public override void visit(IntConst inode)
 {
     inode.type = Constants.INTEGER;
 }
예제 #3
0
 public abstract void visit(IntConst intConst);
예제 #4
0
 public override void visit(IntConst int_const)
 {
     emit_la("a0", "int_const" + tables.inttable.get_idx(int_const.token.value).ToString());
 }