function dtype(t) { return t=="function" ? "Function" : (t=="macro" ? "Macro": "Builtin");} let s = ""; for (let b of document.querySelectorAll('.binding')) { s += `INSERT OR IGNORE INTO searchIndex(name, type, path) VALUES ("${b.firstChild.id}","${dtype(b.children[1].innerText)}","api/index.html#${b.firstChild.id}");\n`; } s