2008-10-08 23:54:28 +00:00
|
|
|
class RegenerateDataFiles {
|
|
|
|
public static function main() {
|
|
|
|
var functionProcessor = new FunctionTokenProcessor();
|
|
|
|
if (!functionProcessor.load_from_cache()) {
|
|
|
|
neko.Lib.print("Regenerating functions cache...\n");
|
|
|
|
functionProcessor.populate_from_file();
|
|
|
|
functionProcessor.save_to_cache();
|
|
|
|
}
|
|
|
|
|
|
|
|
var constantProcessor = new ConstantTokenProcessor();
|
|
|
|
if (!constantProcessor.load_from_cache()) {
|
|
|
|
neko.Lib.print("Regenerating constants cache...\n");
|
2008-10-14 16:54:35 +00:00
|
|
|
constantProcessor.populate_from_file();
|
2008-10-13 00:16:49 +00:00
|
|
|
constantProcessor.save_to_cache();
|
2008-10-08 23:54:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|