Libraryless. Click here for Pure Java version (8344L/55K).
1 | svoid philosophyBot1_addDeepReplacement(PhilosophyBot1 bot, S in, S out) { |
2 | if (bot.deepReplacements == null) { |
3 | bot.deepReplacements = ciMap(); |
4 | bot.addDeepTransformer(s -> bot.deepReplacements.get(s)); |
5 | } |
6 | |
7 | bot.deepReplacements.put(in, out); |
8 | } |
Began life as a copy of #1025739
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027148 |
Snippet name: | philosophyBot1_addDeepReplacement (v2 allowing other transformers too) |
Eternal ID of this version: | #1027148/3 |
Text MD5: | d83f1533fffa11da5fc56334e2f1a4eb |
Transpilation MD5: | 0ec798fd9ed57c059071c2e4a7b981fe |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-22 16:18:42 |
Source code size: | 261 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 297 |
Version history: | 2 change(s) |
Referenced in: | [show references] |