Detect multiple RecursiveASTVisitor visits

I have a RecursiveASTVisitor running over sample code