public override void visit(BoolConst boolConst) { for (int i = 0; i < depth * 2; i++) { sw.Write(" "); } sw.WriteLine("_boolconst(" + boolConst.value + ") : " + boolConst.type); }
public override void visit(BoolConst bool_const) { if (bool_const.value) { emit_la("a0", "bool_const1"); } else { emit_la("a0", "bool_const0"); } }
public override void visit(BoolConst boolean) { boolean.type = Constants.BOOLEAN; }
public abstract void visit(BoolConst boolConst);