internal TypesTable(Dictionary <string, int> nameToIndex, List <PhpTypeInfo> appTypes, TypesCount counter, Action <PhpTypeInfo> redeclarationCallback) { _nameToIndex = nameToIndex; _appTypes = appTypes; _contextTypesCounter = counter; _contextTypes = new PhpTypeInfo[counter.Count]; _redeclarationCallback = redeclarationCallback; }