Symbol = imports.Symbol.Symbol;
DocComment = imports.DocComment.DocComment;
-/****************** INCLUDES ARE ALL AT THE BOTTOM OF THIS FILE!!!!! *******************/
-
+
// should not realy be here -- or anywhere...??
function makeSortby(attribute) {
},
-
+ /**
+ * create a list of files in this.srcFiles using list of directories / files in Options.src
+ *
+ */
_getSrcFiles : function()
{
//Seed.print(JSON.stringify(this.srcFiles, null,4));Seed.quit();
return this.srcFiles;
},
+ /**
+ * Parse the source files.
+ *
+ */
_parseSrcFiles : function()
{
var srcFile = this.srcFiles[i];
- var cacheFile = Options.cacheDirectory + srcFile.replace(/\//g, '_') + ".cache";
+ var cacheFile = !Options.cacheDirectory.length ? false :
+ Options.cacheDirectory + srcFile.replace(/\//g, '_') + ".cache";
//println(cacheFile);
// disabled at present!@!!
- if (false && !Options.disablecache && File.exists(cacheFile)) {
+ if (cacheFile && File.exists(cacheFile)) {
// check filetime?
var c_mt = File.getTimes(cacheFile);
var ts = new TokenStream(tr.tokenize(txs));
Parser.parse(ts, srcFile);
-
+
//var outstr = JSON.stringify(
// Parser.filesSymbols[srcFile]._index
//);