static WoodyRule findWoodyRuleInSource(S src, S ruleName) { L<S> lines = lines(src); for i, S s over lines: { L<S> tok = javaTok(s); if (jfind(tok, "RULE " + ruleName) >= 0) ret getWoodyRuleFromSource(lines, i); } null; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008873 |
Snippet name: | findWoodyRuleInSource |
Eternal ID of this version: | #1008873/7 |
Text MD5: | 4aafe5a83df730d200db3d2556d11ebc |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-15 18:03:27 |
Source code size: | 251 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 403 / 439 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008881 - getWoodyRuleFromSource |