[docooler] binary tree inorder visitor