collectDeclarations

open fun collectDeclarations(current: Node)