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

7
LINES

< > BotCompany Repo | #1012918 // je_indexOfThen

JavaX fragment (include)

static int je_indexOfThen(L<JE_CascadeEntry> rule) {
  for i over rule: {
    JE_CascadeEntry e = rule.get(i);
    if (eqic(e.op, "then")) ret i;
  }
  ret -1;
}

Author comment

Began life as a copy of #1012917

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: #1012918
Snippet name: je_indexOfThen
Eternal ID of this version: #1012918/1
Text MD5: acd4bf3ff75915d1a48b09b9c7c537d2
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-16 14:28:48
Source code size: 167 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 348 / 381
Referenced in: [show references]