1 | // We'd be really fancy if we filtered out return statements in |
2 | // inner blocks. |
3 | static bool containsReturn(S code) {
|
4 | ret containsOneOf(javaTok(code), "ret", "return"); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003913 |
| Snippet name: | containsReturn - does Java code contain a return statement? |
| Eternal ID of this version: | #1003913/1 |
| Text MD5: | 211472201389de052f0a300a998387ca |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-07-30 16:47:57 |
| Source code size: | 176 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 769 / 759 |
| Referenced in: | [show references] |