The collectGlobalTypes function scans the whole AST of the translation unit and produces a set of the type names in global scope.
Returns true, if cursor is in the global scope.
Returns true, if cursor is in the global scope.
Returns true, if cursor can be translated as anonymous.
Returns true, if there is a variable, of type represented by cursor, among children of its parent.