void val(out AST e) { e = null; if (la.kind == 6) { Get(); e = new IntConsting(t.val); } else if (la.kind == 7) { Get(); e = new FloatConsting(t.val); } else if (la.kind == 8) { Get(); e = new SymReferencing(t.val); } else { SynErr(13); } }
public abstract void visit(FloatConsting n);
public override void visit(FloatConsting n) { n.type = AST.FLTTYPE; }
public override void visit(FloatConsting n) { Console.Write(n.val); }
public override void visit(FloatConsting n) { //throw new NotImplementedException(); }
public override void visit(FloatConsting n) { emit(" " + n.val + " "); }