rem: function extract_parameter_const(methodList, numArgs) 
add: function extract_parameter_const(methodList, numArgs, compoundEnums) 
context: function extract_parameter_const(methodList, numArgs){    var params = '';    for(var argIdx = 0; argIdx < numArgs; ++argIdx)    {        params += '        KJS::JSValue* value'+argIdx+'=args['+argIdx+'];\n';        params += '        KJS::JSObject* object'+argIdx+'=value'+argIdx+'->toObject(exec);\n';    }    for(var idx = 0; idx < methodList.length; ++idx)    {        var memberArgList = methodList[idx].elementsByTagName('param');        var variables = '';        params += '        if(';        for(var argIdx = 0; argIdx < numArgs; ++argIdx)        {            var parameter = memberArgList.item(argIdx).toElement();            var paramType = parameter.firstChildElement('type').toElement().toString();            if(isVariant(paramType))                params += 'object'+argIdx+' && object'+argIdx+'->inherits(&ColorBinding::info)';            else                params += 'isBasic(value'+argIdx+')';            if(argIdx < numArgs-1)                params += '&& ';            variables += '    ' + extract_parameter(parameter, argIdx);        }        params += ')\n';        params += '        {\n';        params += variables;        params += '        }\n';    }    return params;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/9169028444f12eef66bc32ee5b9251fb1c1dde51/generatebinding.js/buggy/kjsembed/autobind/values/generatebinding.js