nl_tokens: A node is considered a writeAccess iff it is a name of a declaration or a target of an assignment
pl_tokens: function isWriteAccess ( node ) { if ( node . kind === 69 /* Identifier */ && ts . isDeclarationName ( node ) ) { return true ; } var parent = node . parent ; if ( parent ) { if ( parent . kind === 180 /* PostfixUnaryExpression */ || parent . <mask> === 179 /* PrefixUnaryExpression */ ) { return true ; } else if ( parent . kind === 181 /* BinaryExpression */ && parent . left === node ) { var operator = parent . operatorToken . kind ; return 56 /* FirstAssignment */ <= operator && operator <= 68 /* LastAssignment */ ; } } return false ; }