Exemple #1
0
 void dcl(out SymDeclaring e)
 {
     e = null;
     if (la.kind == 3)
     {
         Get();
         Expect(8);
         e = new FloatDcl(t.val);
     }
     else if (la.kind == 4)
     {
         Get();
         Expect(8);
         e = new IntDcl(t.val);
     }
     else
     {
         SynErr(11);
     }
 }
Exemple #2
0
 public abstract void visit(SymDeclaring n);
Exemple #3
0
 public override void visit(SymDeclaring n)
 {
     //throw new NotImplementedException();
 }