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

11
LINES

< > BotCompany Repo | #1012901 // je_ifThenToCascade

JavaX fragment (include)

static L<JE_CascadeEntry> je_ifThenToCascade(L<Pair<S>> ifThen) {
  new L<JE_CascadeEntry> out;
  for (Pair<S> p : ifThen) {
    new JE_CascadeEntry e;
    e.op = p.a;
    e.java = ai_javaOrEnglish(p.b) > 0;
    e.tok = javaTok(p.b);
    out.add(e);
  }
  ret out;
}

Author comment

Began life as a copy of #1012891

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: #1012901
Snippet name: je_ifThenToCascade
Eternal ID of this version: #1012901/2
Text MD5: 88be151b4339df4f8945115dda10539b
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 13:33:02
Source code size: 276 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 367 / 400
Version history: 1 change(s)
Referenced in: [show references]