Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1008893 // ctxActions

JavaX fragment (include)

static L<S> ctxActions(S body) {
  L<S> lines = lines(body);
  int i = 0;
  new L<S> out;
  while (i < l(lines)) {
    Pair<S, Int> p = ctxAction(lines, i);
    if (p == null) break;
    out.add(p.a);
    i = p.b+1;
  }
  ret out;
}

Author comment

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: 531 / 574
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)