connect processBlockNode and declareFunction