(symbolFromSymbolTable, meaning)
| 51902 | return result; |
| 51903 | } |
| 51904 | function canQualifySymbol(symbolFromSymbolTable, meaning) { |
| 51905 | // If the symbol is equivalent and doesn't need further qualification, this symbol is accessible |
| 51906 | return !needsQualification(symbolFromSymbolTable, enclosingDeclaration, meaning) || |
| 51907 | // If symbol needs qualification, make sure that parent is accessible, if it is then this symbol is accessible too |
| 51908 | !!getAccessibleSymbolChain(symbolFromSymbolTable.parent, enclosingDeclaration, getQualifiedLeftMeaning(meaning), useOnlyExternalAliasing, visitedSymbolTablesMap); |
| 51909 | } |
| 51910 | function isAccessible(symbolFromSymbolTable, resolvedAliasSymbol, ignoreQualification) { |
| 51911 | return (symbol === (resolvedAliasSymbol || symbolFromSymbolTable) || getMergedSymbol(symbol) === getMergedSymbol(resolvedAliasSymbol || symbolFromSymbolTable)) && |
| 51912 | // if the symbolFromSymbolTable is not external module (it could be if it was determined as ambient external module and would be in globals table) |
no test coverage detected
searching dependent graphs…