1 | static L<S> ctxActions(S body) { |
2 | L<S> lines = lines(body); |
3 | int i = 0; |
4 | new L<S> out; |
5 | while (i < l(lines)) { |
6 | Pair<S, Int> p = ctxAction(lines, i); |
7 | if (p == null) break; |
8 | out.add(p.a); |
9 | i = p.b+1; |
10 | } |
11 | ret out; |
12 | } |
Began life as a copy of #1008885
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: | #1008893 |
Snippet name: | ctxActions |
Eternal ID of this version: | #1008893/1 |
Text MD5: | 396489b781447fc700035ed2b3d3603d |
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 23:44:49 |
Source code size: | 243 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 532 / 575 |
Referenced in: | [show references] |