// returns only rules that actually changed (keeping the IDs) static L<TextCommentsID> gazelle_transformRulesUsingWordMap(SS map, L<TextCommentsID> rules) { new L<TextCommentsID> out; for (TextCommentsID t : rules) { TextCommentsID t2 = new( replaceWords_includingCamelCase(map, t.text), replaceWords_includingCamelCase(map, t.comments), t.id); if (neq(t.text, t2.text)) out.add(t2); } ret out; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1022424 |
| Snippet name: | gazelle_transformRulesUsingWordMap |
| Eternal ID of this version: | #1022424/2 |
| Text MD5: | f369017b58bca65258c883761a03c314 |
| 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-17 11:33:26 |
| Source code size: | 441 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 431 / 493 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1022433 - gazelle_transformRulesUsingWordMap_doIt |