add:   compound.filebase = compound.name.replace(/::/g, '_'); 
context: function process_class_info( classDoc ){    // Construct the compound doc for the compound object    var compound = {};    // Store the root of the class document    compound.doc = classDoc;    // Stores the base of the definition    compound.def = classDoc.firstChild().toElement();    // Stores the name of the compound object    compound.name = compound.def.firstChildElement('compoundname').toElement().toString();    // Stores the name the compound object data will be stored under    compound.data = compound.name + "Data";    // Stores the name the compound object binding will be known by    compound.binding = compound.name + "Binding";    // Stores a list of elements that define all the members of the object.    compound.memberList = compound.def.elementsByTagName( "memberdef" );    // Store the cached enum types with our compound object.    compound.globalEnums = enum_array;    // choose the bindings (TODO: Add ObjectBinding and QObjectBinding).    if (isVariant( compound.name ))    {        compound.bindingFactory = "VariantFactory";        compound.bindingBase = "VariantBinding";        compound.isVariant = true;    }    else    {        compound.bindingFactory = "ValueFactory";        compound.bindingBase = "ValueBinding";        compound.isVariant = false;    }    println("   Writing Header");    write_header( compound );    println("   Writing Binding");    write_binding_new( compound );}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/b3d4de9ac5be1c72f674d604a931a64f8122556c/generate.js/buggy/kjsembed/autobind/values/generate.js