static int nlLogic_numberOfLinesReferenced(Exp e) { if (e cast And) ret max(nlLogic_numberOfLinesReferenced(e.a), nlLogic_numberOfLinesReferenced(e.b)); if (e cast Func) { new Matches m; if (startsWith(e.name, "line", m)) ret parseIntOpt(m.rest()); } ret 0; }
Began life as a copy of #1017664
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017760 |
Snippet name: | nlLogic_numberOfLinesReferenced |
Eternal ID of this version: | #1017760/2 |
Text MD5: | a0b79f62ce281a46f314fc94c93d15d1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-09 14:28:16 |
Source code size: | 294 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 342 / 384 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |