nl_tokens: Warning : This has the same semantics as the forEach family of functions in that traversal terminates in the event that visitor supplies a truthy value .
pl_tokens: function forEachReturnStatement ( body , visitor ) { return traverse ( <mask> ) ; function traverse ( node ) { switch ( node . kind ) { case 204 /* ReturnStatement */ : return visitor ( node ) ; case 220 /* CaseBlock */ : case 192 /* Block */ : case 196 /* IfStatement */ : case 197 /* DoStatement */ : case 198 /* WhileStatement */ : case 199 /* ForStatement */ : case 200 /* ForInStatement */ : case 201 /* ForOfStatement */ : case 205 /* WithStatement */ : case 206 /* SwitchStatement */ : case 241 /* CaseClause */ : case 242 /* DefaultClause */ : case 207 /* LabeledStatement */ : case 209 /* TryStatement */ : case 244 /* CatchClause */ : return ts . forEachChild ( node , traverse ) ; } } }