@@ -0,0 +1,253 @@
+package absyn;%0A%0Aimport env.Env;%0Aimport parse.Loc;%0Aimport types.Type;%0A%0Apublic abstract class Dec extends AST %7B%0A%0A   public Dec(Loc loc) %7B%0A      super(loc);%0A   %7D%0A%0A   // Do semantic analysis of the declaraction%0A   public abstract void semantic(Env env);%0A%0A%7D%0A

Add abstract class for declartions