int all = GlobalModelVisitor.ALIAS_MODULES | GlobalModelVisitor.GLOBAL_TOKENS
| GlobalModelVisitor.WILD_MODULES | GlobalModelVisitor.MODULE_DOCSTRING;
//we request all and put it into the cache (partitioned), because that's faster than making multiple runs through it
GlobalModelVisitor globalModelVisitor = GlobalModelVisitor.getGlobalModuleVisitorWithTokens(ast, all, name,
state, false);
this.globalModelVisitorCache = globalModelVisitor;
List<IToken> ret = globalModelVisitor.getTokens();
if (DEBUG_INTERNAL_GLOBALS_CACHE) {
System.out.println("\n\nLooking for:" + which);
}
//cache