function showInterfaceIdl(intf, html) {
    html.push("<div class='show-Idl'><h3>IDL</h3><pre>")
    html.push("interface {")

    intf.methods.forEach(function(method){
        showInterfaceIdlMethod(method, html)
    })

    if (intf.attributes.length > 0) html.push("<table>")
    intf.attributes.forEach(function(attribute){
        showInterfaceIdlAttribute(attribute, html)
    })
    if (intf.attributes.length > 0) html.push("</table>")

    html.push("};")
    html.push("</pre></div>")
}
function showInterfaceIdl(intf, html) {
    html.push("<div class='show-Idl'><h3>IDL</h3><pre>")
    html.push("interface {")

    intf.methods.forEach(function(method){
        showInterfaceIdlMethod(method, html)
    })

    if (intf.attributes.length > 0) html.push("<table>")
    intf.attributes.forEach(function(attribute){
        showInterfaceIdlAttribute(attribute, html)
    })
    if (intf.attributes.length > 0) html.push("</table>")

    html.push("};")
    html.push("</pre></div>")
}
function showInterfaceIdl ( intf , html ) { html . push ( "<div class='show-Idl'><h3>IDL</h3><pre>" ) html . push ( "interface {" ) intf . methods . forEach ( function ( method ) { showInterfaceIdlMethod ( method , html ) } ) if ( intf . attributes . length > 0 ) html . push ( "<table>" ) intf . attributes . forEach ( function ( attribute ) { showInterfaceIdlAttribute ( attribute , html ) } ) if ( intf . attributes . length > 0 ) html . push ( "</table>" ) html . push ( "};" ) html . push ( "</pre></div>" ) }
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
show interface idl