static LS ai_mechListsWithPossibleRules() { new LS names; for (S name : mechListNames()) { LS tok = javaTok(mL_raw(name)); if (jcontains(tok, "=>") && jcontainsOneOf(tok, "i(", "input(", "o(", "output(", "fact(")) names.add(name); } ret names; }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020712 |
| Snippet name: | ai_mechListsWithPossibleRules |
| Eternal ID of this version: | #1020712/3 |
| Text MD5: | 0b0eb6dfd1eaa6564200de9bce851e31 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-12-31 23:15:17 |
| Source code size: | 275 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 484 / 538 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |