lots of changes
[cdsspec-compiler.git] / src / edu / uci / eecs / specCompiler / specExtraction / Construct.java
index 4aa4fcf238a7b4e1bc5be6dd292b9b52767e1013..373948ba6f83aeecea75e29456d06792c891da42 100644 (file)
@@ -1,11 +1,29 @@
 package edu.uci.eecs.specCompiler.specExtraction;
 
+import java.io.File;
+
 /**
  * <p>
  * This is just an abstract class for all the constructs.
  * </p>
+ * 
  * @author peizhaoo
- *
+ * 
  */
 abstract public class Construct {
+       public final File file;
+       public final int beginLineNum;
+       public final String interfaceDeclBody;
+
+       public Construct(File file, int beginLineNum) {
+               this.file = file;
+               this.beginLineNum = beginLineNum;
+               this.interfaceDeclBody = "";
+       }
+
+       public Construct(File file, int beginLineNum, String interfaceDeclBody) {
+               this.file = file;
+               this.beginLineNum = beginLineNum;
+               this.interfaceDeclBody = interfaceDeclBody;
+       }
 }