clang-format: [JS] handle pseudo-keywords.
The previous change in https://reviews.llvm.org/D77311 attempted to
detect more C++ keywords. However it also precisely detected all
keywords, e.g. get, are so-called pseudo-keywords. They can be used in
positions where a keyword would never be legal, e.g. in a dotted
x.type; // type is a pseudo-keyword, but can be used here. x.get; // same for get etc.
This change introduces an additional parameter to
to allow IdentifierName tokens, i.e. pseudo-keywords.
Differential Revision: https://reviews.llvm.org/D77548