A node is considered a writeAccess iff it is a name of a declaration or a target of an assignment
(node)
| 137257 | FindAllReferences.getTextSpanOfEntry = getTextSpanOfEntry; |
| 137258 | /** A node is considered a writeAccess iff it is a name of a declaration or a target of an assignment */ |
| 137259 | function isWriteAccessForReference(node) { |
| 137260 | var decl = ts.getDeclarationFromName(node); |
| 137261 | return !!decl && declarationIsWriteAccess(decl) || node.kind === 88 /* SyntaxKind.DefaultKeyword */ || ts.isWriteAccess(node); |
| 137262 | } |
| 137263 | /** Whether a reference, `node`, is a definition of the `target` symbol */ |
| 137264 | function isDeclarationOfSymbol(node, target) { |
| 137265 | var _a; |
no test coverage detected