- static Gee.HashMap<string,Palete>? cache = null;
+ //static Gee.HashMap<string,Palete>? cache = null;
/*
public static Palete factory(project)
-
+ // this is the old verison using 'Usage'... see flutter for a better version..
- public string[] getChildList(string in_rval)
+ public string[] original_getChildList(string in_rval)
{
if (this.map == null) {
}
- public string[] getDropList(string rval)
+
+ public string[] default_getDropList(string rval)
{
if (this.map == null) {
// it should highlight errors before we actually push live the code.
// standard error format: file %s, line %s, Error
+
+ var cfg = new JSDOC.PackerRun();
+ cfg.opt_keep_whitespace = false;
+ cfg.opt_skip_scope = false;
+ cfg.opt_dump_tokens = false;
+ cfg.opt_clean_cache = false;
+
- var p = new JSDOC.Packer();
- p.keepWhite = false;
- p.skipScope = false;
- p.dumpTokens = false;
- p.cleanup = false;
+ var p = new JSDOC.Packer(cfg);
+
p.packFile(code, file.path,"");
string key,
string complete_string
);
+ public abstract string[] getChildList(string in_rval);
+ public abstract string[] getDropList(string rval);
+
+
}