Find declarations of all non-static variables that are not part of any namespace ("global" variables)
// NameDeclarator [ isVariable() ] [ isGlobal() ] [ not isStatic() ]
1 namespace n {
2 // no match - variable in namespace;
3 int a;
4 } // no match - static variable static
5
6 int b; // no match - not a variable
7 void f(); // finds this variable
8 extern int c;