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

9
LINES

< > BotCompany Repo | #1021746 // dm_gazelle_findRuleForStatementCondition

JavaX fragment (include)

sS dm_gazelle_findRuleForStatementCondition(S s) {
  for (T3<S> t : dm_gazelle_allRulesWithComment("in = statement")) {
    PairS p = splitAtDoubleArrow_pair(t.a);
    if (p == null) continue with print("dm_gazelle_findRuleForStatementCondition skipping: " + t.a);
    if (eqic(p.a, s))
      ret t.c;
  }
  null;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1021746
Snippet name: dm_gazelle_findRuleForStatementCondition
Eternal ID of this version: #1021746/4
Text MD5: 9c442c5b5dd7cff51cf2f8cd802dba08
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-04 12:50:49
Source code size: 323 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 319
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)