* <p>
* This class represents the specification extractor of the specification. The
* main function of this class is to read C/C++11 source files and extract the
- * corresponding specification out, and remember its location, including the
- * file name and the line number, to help the code generation process.
+ * corresponding specifications, and record corresponding information such as
+ * location, e.g., the file name and the line number, to help the code
+ * generation process.
* </p>
*
* @author peizhaoo
public SpecExtractor() {
srcFilesInfo = new HashMap<File, SourceFileInfo>();
}
-
+
public ArrayList<Construct> getConstructs() {
ArrayList<Construct> constructs = new ArrayList<Construct>();
for (File f : srcFilesInfo.keySet()) {
}
return constructs;
}
-
+
/**
* <p>
* Given a list of files, it scans each file and add found SpecConstrcut to
}
}
-
}