1 //<script type="text/javscript">
3 XObject = imports.XObject.XObject;
7 console = imports.console.console;
9 // make sure parent is loaded..
10 RooFile = imports.RooFile.RooFile;
14 * this takes our collased file, and turns it into the config array..
25 GtkFile = XObject.define(
28 GtkFile.superclass.constructor.call(this, ar);
29 // console.log("STARTING OUTPUT");
45 // function create() { return;
47 var pos = this.lookFor( 'function');
50 // standard create format.
52 if (pos > -1 && this.tokens[pos+1].data == 'create') {
53 var tree = this.tokens[pos+3].items[0][1].props;
54 this.cfg= this.parseProps(tree);
57 print("invalid file format");
60 //GtkFile.superclass.parse.call(this);