MCPcopy Index your code
hub / github.com/nodejs/node / getAssignmentDeclarationKind

Function getAssignmentDeclarationKind

test/fixtures/snapshot/typescript.js:16567–16570  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

16565 /// Given a BinaryExpression, returns SpecialPropertyAssignmentKind for the various kinds of property
16566 /// assignments we treat as special in the binder
16567 function getAssignmentDeclarationKind(expr) {
16568 var special = getAssignmentDeclarationKindWorker(expr);
16569 return special === 5 /* AssignmentDeclarationKind.Property */ || isInJSFile(expr) ? special : 0 /* AssignmentDeclarationKind.None */;
16570 }
16571 ts.getAssignmentDeclarationKind = getAssignmentDeclarationKind;
16572 function isBindableObjectDefinePropertyCall(expr) {
16573 return ts.length(expr.arguments) === 3 &&

Calls 2

isInJSFileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…