1 2 3 4 5 6 7 8 9 10 | 2x 1x 1x 1x 2x | function handleClassDeclaration(insertKeyFunc, debug, { id }){ if(!id) throw new Error('handleClassDeclaration:id was not passed') let { name } = id debug(`Class: ${name}`) insertKeyFunc(name) } module.exports = { handleClassDeclaration } |