libTooling Questions : EndVisit like functionality


I have just started experimenting with clang AST and libTooling.

My project requirement is to generate a json from an AST using libTooling.

For that I need to track the end of every visit.

For example.

You can overwrite the Traverse* methods in RecursiveASTVisitor like the ASTMatchFinder does.