1 | static WoodyRule findWoodyRuleInSource(S src, S ruleName) { |
2 | L<S> lines = lines(src); |
3 | for i, S s over lines: { |
4 | L<S> tok = javaTok(s); |
5 | if (jfind(tok, "RULE " + ruleName) >= 0) |
6 | ret getWoodyRuleFromSource(lines, i); |
7 | } |
8 | null; |
9 | } |
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: | 402 / 439 |
Version history: | 6 change(s) |
Referenced in: | [show references] |