Search for all occurrences of an identifier in a source file (and filter out the ones that match).
(sourceFile, search, state)
| 137893 | } |
| 137894 | /** Search for all occurrences of an identifier in a source file (and filter out the ones that match). */ |
| 137895 | function searchForName(sourceFile, search, state) { |
| 137896 | if (ts.getNameTable(sourceFile).get(search.escapedText) !== undefined) { |
| 137897 | getReferencesInSourceFile(sourceFile, search, state); |
| 137898 | } |
| 137899 | } |
| 137900 | function getPropertySymbolOfDestructuringAssignment(location, checker) { |
| 137901 | return ts.isArrayLiteralOrObjectLiteralDestructuringPattern(location.parent.parent) |
| 137902 | ? checker.getPropertySymbolOfDestructuringAssignment(location) |
no test coverage detected