collectDeclarations

fun collectDeclarations(current: Node?)