nl_tokens: when containing node in the tree is token but its kind differs from the kind that was returned by the scanner then kind needs to be fixed . This might happen in cases when parser interprets token differently i . e keyword treated as identifier
pl_tokens: function fixTokenKind ( tokenInfo , container ) { if ( ts . isToken ( <mask> ) && tokenInfo . token . kind !== container . kind ) { tokenInfo . token . kind = container . kind ; } return tokenInfo ; }