nl_tokens: - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - exclude / include helpers - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - = -
pl_tokens: function additionalIgnoredDecls ( parsed , options ) { var topLevel = topLevelDeclsAndRefs ( parsed ) , ignoreDecls = [ ] ; for ( var i = 0 ; i < topLevel . scope . varDecls . length ; i ++ ) { var decl = topLevel . scope . varDecls [ i ] , path = Path ( topLevel . scope . varDeclPaths [ i ] ) , parent = path . slice ( 0 , - 1 ) . get ( parsed ) ; if ( parent . type === "ForStatement" || parent . type === "ForInStatement" || parent . type === "ForOfStatement" || parent . type === "ExportNamedDeclaration" ) ignoreDecls . push ( ... decl . declarations ) } return topLevel . scope . catches . <mask> ( ea => ea . name ) . concat ( ignoreDecls . map ( ea => ea . id . name ) ) ; }