* Gets the token whose text has range [start, end) and * position >= start and (position < end or (position === end && token is literal or keyword or identifier))
(sourceFile, position)
| 127399 | * position >= start and (position < end or (position === end && token is literal or keyword or identifier)) |
| 127400 | */ |
| 127401 | function getTouchingPropertyName(sourceFile, position) { |
| 127402 | return getTouchingToken(sourceFile, position, function (n) { return ts.isPropertyNameLiteral(n) || ts.isKeyword(n.kind) || ts.isPrivateIdentifier(n); }); |
| 127403 | } |
| 127404 | ts.getTouchingPropertyName = getTouchingPropertyName; |
| 127405 | /** |
| 127406 | * Returns the token if position is in [start, end). |
nothing calls this directly
no test coverage detected