1 | static LS ai_mechListsWithPossibleRules() { |
2 | new LS names; |
3 | for (S name : mechListNames()) { |
4 | LS tok = javaTok(mL_raw(name)); |
5 | if (jcontains(tok, "=>") && jcontainsOneOf(tok, "i(", "input(", "o(", "output(", "fact(")) |
6 | names.add(name); |
7 | } |
8 | ret names; |
9 | } |
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: | 267 / 309 |
Version history: | 2 change(s) |
Referenced in: | [show references] |