OK, two years later, I have some progress about this code completion case. For the above cc test case, now, I can show the expression tree, see the image shot as in attachment, and I can rebuild the std::queue<ParserComponent> components by the tree, then I get the correct result.
<...>
I have a lot of code changes especially the code of operator precedence climbing.
Wow, that is cool! I was not here for a while, but I still use C::B for development =). Is this code already in main codebase?