nl_tokens: / * Starting from initial node walk up the parent chain until stopAt node is reached . If at any point current node is equal to parent node - return true . Return false if stopAt node is reached or isFunctionLike ( current ) === true .
pl_tokens: function isSameScopeDescendentOf ( initial , parent , stopAt ) { if ( ! parent ) { return false ; } for ( var current = initial ; current && <mask> !== stopAt && ! ts . isFunctionLike ( current ) ; current = current . parent ) { if ( current === parent ) { return true ; } } return false ; }