nl_tokens: Determines whether a function has a name .
pl_tokens: function isNamedFunction ( node ) { if ( node . id ) return true ; const { <mask> } = node ; const { type } = parent ; const namedFunction = type === 'MethodDefinition' || type === 'Property' && ( parent . kind === 'get' || parent . kind === 'set' || parent . method ) ; return namedFunction ; }