predefinedLookupScopes

In some languages, the lookup scope of a symbol that is being resolved (e.g. of a Reference) can be adjusted through keywords (such as global in Python or PHP).

We store this information in the form of a LookupScopeStatement in the AST, but we need to also store this information in the scope to avoid unnecessary AST traversals when resolving symbols using lookupSymbol.