nl_tokens: Determines whether the given call name refers to an event declaration using scope resolution .
pl_tokens: function isEvent ( expr , eventDeclarations ) { for ( let { node , enclosingContract } of eventDeclarations ) { if ( expr . callee . name === node . name && sourceCode . isAChildOf ( expr , enclosingContract ) ) { return <mask> ; } } return false ; }