nl_tokens: True if the given identifier string literal or number literal is the name of a declaration node
pl_tokens: function isDeclarationName ( name ) { if ( name . kind !== 69 /* Identifier */ && name . kind !== 9 /* StringLiteral */ && name . kind !== 8 /* NumericLiteral */ ) { return false ; } var <mask> = name . parent ; if ( parent . kind === 226 /* ImportSpecifier */ || parent . kind === 230 /* ExportSpecifier */ ) { if ( parent . propertyName ) { return true ; } } if ( isDeclaration ( parent ) ) { return parent . name === name ; } return false ; }