rem: 'const Method ' + compoundData + '::p_methods[] = \n' + 
add: 'const Method KJSEmbed::' + compoundData + '::p_methods[] = \n' + 
context: function write_method_lut( compoundDef ){    var compoundName = compoundDef.firstChildElement('compoundname').toElement().toString();    var lut_template =        '\n' +        'const Method ' + compoundData + '::p_methods[] = \n' +        '{\n';    // Generate the binding for each method    var methodList = compoundDef.elementsByTagName( "memberdef" );    for( var idx = 0; idx < methodList.length(); ++idx )    {        var memberElement = methodList.item(idx).toElement();        var memberKind = memberElement.attribute('kind');        var memberProt = memberElement.attribute('prot');        var memberName = memberElement.firstChildElement('name').toElement().toString();        var numParams = memberElement.elementsByTagName("param").count();        if ( memberKind == 'function' )        {            if ( memberProt == 'public' )            {                if ( memberName.indexOf('operator') == -1 ) // Make sure this is not an operator.                {                    if ( memberName.indexOf(compoundName) == -1 ) // Make sure this is not a ctor or dtor                    {                    lut_template += '    { "'+ memberName +'", '+ numParams +', KJS::DontDelete|KJS::ReadOnly, &' + compoundName + 'NS::' + memberName + ' },\n';                    }                }            }        }    }    lut_template +=    '    {0, 0, 0, 0 }\n' +    '};\n';    return lut_template;}
meta: 1078	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1078/b9a5f8301280755e3f059f8636150ca9ebeb1a4f/generatebinding.js/buggy/kjsembed/autobind/values/generatebinding.js