1 | static L<Symbol> ai_tripleRefsToTexts(Symbol a, Symbol b, Symbol c, L<TripleRef<Symbol>> l) { |
2 | if (empty(l)) ret sharedEmptyList(); |
3 | new L<Symbol> out; |
4 | for (TripleRef<Symbol> ref : l) if (ref != null) { |
5 | T3<Symbol> t = ref.triple; |
6 | SymbolSymbol match = simpleMatchTriple_dollarVars(a, b, c, t); |
7 | if (match != null) |
8 | out.add(match.get(symbol_dollarX())); |
9 | ifdef ai_tripleRefsToTexts_debug |
10 | else |
11 | print("No match: " + t); |
12 | endifdef |
13 | } |
14 | ret out; |
15 | } |
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: | #1012673 |
Snippet name: | ai_tripleRefsToTexts |
Eternal ID of this version: | #1012673/6 |
Text MD5: | 1590dfc939546d003dc4f22915f7fb1e |
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-10 21:20:45 |
Source code size: | 492 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 549 / 552 |
Version history: | 5 change(s) |
Referenced in: | [show references] |