expression functions, class member scoping, scope tests in stub visitor